Go Down

Topic: No file error, have tried to reinstall IDE (Read 140 times) previous topic - next topic

tribonacci

Jun 13, 2018, 02:45 pm Last Edit: Jun 13, 2018, 03:18 pm by tribonacci
This is freshly installed latest version IDE and a new uno, I've tried uninstalling and reinstalling the app and the same error persists. I've moved the arduino app to the applications folder each time also. No file under arduino15 can be seen either. Not sure if i need to manually add library with a path or something else.

Didn't work with built in examples or the adafruit circuit playground library examples - I tried hello blink

Any help appreciated, thanks!

Attempting to compile the blink example it states the following error:

Arduino: 1.8.5 (Mac OS X), Board: "Arduino/Genuino Uno"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/ice/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/ice/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/ice/Documents/Arduino/libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path /var/folders/22/yct6_ztn0hlf1qpg4xvdqvt00000gn/T/arduino_build_611507 -warnings=none -build-cache /var/folders/22/yct6_ztn0hlf1qpg4xvdqvt00000gn/T/arduino_cache_321274 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Users/ice/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.arduinoOTA.path=/Users/ice/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avrdude.path=/Users/ice/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -verbose /Users/ice/Documents/Arduino/libraries/Adafruit_Circuit_Playground/examples/Hello_CircuitPlayground/Hello_Blink/Hello_Blink.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/ice/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/ice/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/ice/Documents/Arduino/libraries -fqbn=arduino:avr:uno -vid-pid=0X2341_0X0043 -ide-version=10805 -build-path /var/folders/22/yct6_ztn0hlf1qpg4xvdqvt00000gn/T/arduino_build_611507 -warnings=none -build-cache /var/folders/22/yct6_ztn0hlf1qpg4xvdqvt00000gn/T/arduino_cache_321274 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/Users/ice/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2 -prefs=runtime.tools.arduinoOTA.path=/Users/ice/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.1.1 -prefs=runtime.tools.avrdude.path=/Users/ice/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9 -verbose /Users/ice/Documents/Arduino/libraries/Adafruit_Circuit_Playground/examples/Hello_CircuitPlayground/Hello_Blink/Hello_Blink.ino
Using board 'uno' from platform in folder: /Users/ice/Library/Arduino15/packages/arduino/hardware/avr/1.6.21
Using core 'arduino' from platform in folder: /Users/ice/Library/Arduino15/packages/arduino/hardware/avr/1.6.21
Detecting libraries used...
"/Users/ice/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-I/Users/ice/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/ice/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/standard" "/var/folders/22/yct6_ztn0hlf1qpg4xvdqvt00000gn/T/arduino_build_611507/sketch/Hello_Blink.ino.cpp" -o "/dev/null"
Generating function prototypes...
"/Users/ice/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-I/Users/ice/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/cores/arduino" "-I/Users/ice/Library/Arduino15/packages/arduino/hardware/avr/1.6.21/variants/standard" "/var/folders/22/yct6_ztn0hlf1qpg4xvdqvt00000gn/T/arduino_build_611507/sketch/Hello_Blink.ino.cpp" -o "/var/folders/22/yct6_ztn0hlf1qpg4xvdqvt00000gn/T/arduino_build_611507/preproc/ctags_target_for_gcc_minus_e.cpp"
fork/exec /Users/ice/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++: no such file or directory
Error compiling for board Arduino/Genuino Uno.

tribonacci

works no problem with the online editor!

pert

This indicates something has gone wrong with your Arduino AVR Boards installation. To make sure it has been fully uninstalled you need to take some drastic action. Be aware this is somewhat advanced and will remove any boards you have installed via Boards Manager:
  • Click the link on the line following File > Preferences > More preferences can be edited directly in the file. This will open the Arduino15 (or similar name depending on OS) folder.
  • Delete all files and folders under the Arduino15 folder except for preferences.txt. Please be very careful when deleting things from your computer. When in doubt, back up!
  • Restart the Arduino IDE

Verify that you can now use your board before reinstalling any packages via Boards Manager.

Go Up