Go Down

Topic: Arduino Sketch Compilation Problem (Read 337 times) previous topic - next topic

Karan91

 
Code: [Select]

E:\Program Files (x86)\arduino-1.8.8\hardware\tools\avr/bin/avr-objcopy: 'C:\Users\w\AppData\Local\Temp\arduino_build_353025/serial_comm.ino.elf': No such file

exit status 1
Error compiling for board Arduino Nano.


For all the sketches that I try to Compile I get this error.
I checked the Path and file is not present.

Please help me resolve this issue.

ballscrewbob

Is "E" a networked drive of any sort ?

I don't think that's the whole error message either ?
Do you have VERBOSE turned on ?

Bob.
It may not be the answer you were looking for but its the one I am giving based on either experience, educated guess, google or the fact that you gave nothing to go with in the first place so I used my wonky crystal ball.

Karan91

Is "E" a networked drive of any sort ?

I don't think that's the whole error message either ?
Do you have VERBOSE turned on ?

Bob.
E is just a ordinary drive where Arduino has been installed.

Full Log

Code: [Select]
E:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware E:\Program Files (x86)\Arduino\hardware -tools E:\Program Files (x86)\Arduino\tools-builder -tools E:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries E:\Program Files (x86)\Arduino\libraries -libraries C:\Users\w\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10809 -build-path C:\Users\w\AppData\Local\Temp\arduino_build_211242 -warnings=all -build-cache C:\Users\w\AppData\Local\Temp\arduino_cache_420932 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=E:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=E:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=E:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=E:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=E:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=E:\Program Files (x86)\Arduino\hardware\tools\avr -verbose F:\Arduino Projects\serial_comm\serial_comm.ino
E:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware E:\Program Files (x86)\Arduino\hardware -tools E:\Program Files (x86)\Arduino\tools-builder -tools E:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries E:\Program Files (x86)\Arduino\libraries -libraries C:\Users\w\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10809 -build-path C:\Users\w\AppData\Local\Temp\arduino_build_211242 -warnings=all -build-cache C:\Users\w\AppData\Local\Temp\arduino_cache_420932 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=E:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=E:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=E:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=E:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=E:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=E:\Program Files (x86)\Arduino\hardware\tools\avr -verbose F:\Arduino Projects\serial_comm\serial_comm.ino
Using board 'nano' from platform in folder: E:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: E:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"E:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IE:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IE:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\w\\AppData\\Local\\Temp\\arduino_build_211242\\sketch\\serial_comm.ino.cpp" -o nul
Generating function prototypes...
"E:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IE:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IE:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\w\\AppData\\Local\\Temp\\arduino_build_211242\\sketch\\serial_comm.ino.cpp" -o "C:\\Users\\w\\AppData\\Local\\Temp\\arduino_build_211242\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"E:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\w\\AppData\\Local\\Temp\\arduino_build_211242\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"E:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10809 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IE:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IE:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\w\\AppData\\Local\\Temp\\arduino_build_211242\\sketch\\serial_comm.ino.cpp" -o "C:\\Users\\w\\AppData\\Local\\Temp\\arduino_build_211242\\sketch\\serial_comm.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core: C:\Users\w\AppData\Local\Temp\arduino_cache_420932\core\core_arduino_avr_nano_cpu_atmega328old_f2151d765ac6d8806a73f952b8f45225.a
Linking everything together...
"E:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\w\\AppData\\Local\\Temp\\arduino_build_211242/serial_comm.ino.elf" "C:\\Users\\w\\AppData\\Local\\Temp\\arduino_build_211242\\sketch\\serial_comm.ino.cpp.o" "C:\\Users\\w\\AppData\\Local\\Temp\\arduino_build_211242/..\\arduino_cache_420932\\core\\core_arduino_avr_nano_cpu_atmega328old_f2151d765ac6d8806a73f952b8f45225.a" "-LC:\\Users\\w\\AppData\\Local\\Temp\\arduino_build_211242" -lm
exit status 1
Error compiling for board Arduino Nano.

Go Up