Arduino stuck at 75% when compiling/verifying.

Hi, my arduino (genuino since im in sweden) won't compile neither verify, i do not get any error messages and i have tried other versions like 1.6.5 but i had no success in that. are there any solution i can try?

  • Restart the IDE
  • Check the box at File > Preferences > Show verbose output during: compilation
  • compile
  • After it gets stuck select all the text in the black window at the bottom of the IDE and paste it here using the code tags(</> button). If it's too long then save it in a text file and attach it.

pert:

  • Restart the IDE
  • Check the box at File > Preferences > Show verbose output during: compilation
  • compile
  • After it gets stuck select all the text in the black window at the bottom of the IDE and paste it here using the code tags(</> button). If it's too long then save it in a text file and attach it.

here is the messages i get.

Arduino Compile..txt (6.35 KB)

He said to use code tags - copy/paste it into your post, and put it inside the code tags.

That way we don't have to download it to view it - these forums are dumb, and don't let you view attachments without saving them to your computer (and often aren't usable at all if you're using a phone)

For the benefit of others, here is the compiler output.... it's just... stopping?

C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files\Arduino\hardware" -tools "C:\Program Files\Arduino\tools-builder" -tools "C:\Program Files\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files\Arduino\libraries" -libraries "C:\Users\Sebastian Persson\Documents\Arduino\libraries" -fqbn=arduino:avr:uno -vid-pid=0X2A03_0X0043 -ide-version=10606 -build-path "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Program Files\Arduino\examples\01.Basics\AnalogReadSerial\AnalogReadSerial.ino"
C:\Program Files\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files\Arduino\hardware" -tools "C:\Program Files\Arduino\tools-builder" -tools "C:\Program Files\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files\Arduino\libraries" -libraries "C:\Users\Sebastian Persson\Documents\Arduino\libraries" -fqbn=arduino:avr:uno -vid-pid=0X2A03_0X0043 -ide-version=10606 -build-path "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Program Files\Arduino\examples\01.Basics\AnalogReadSerial\AnalogReadSerial.ino"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -M -MG -MP -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp\sketch\AnalogReadSerial.ino.cpp"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -M -MG -MP -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp\sketch\AnalogReadSerial.ino.cpp"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -M -MG -MP -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp\sketch\AnalogReadSerial.ino.cpp"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -M -MG -MP -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp\sketch\AnalogReadSerial.ino.cpp"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -M -MG -MP -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp\sketch\AnalogReadSerial.ino.cpp"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp\sketch\AnalogReadSerial.ino.cpp"
"C:\Program Files\Arduino\tools-builder\ctags\5.8-arduino2/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp\preproc\ctags_target.cpp"
"C:\Program Files\Arduino\tools-builder\ctags\5.8-arduino2/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp\preproc\ctags_target.cpp"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp\sketch\AnalogReadSerial.ino.cpp" -o "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp\sketch\AnalogReadSerial.ino.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S" -o "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp\core\wiring_pulse.S.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c" -o "C:\Users\SEBAST~1\AppData\Local\Temp\builda5ef980fe5b9662f4c403d048f3116f1.tmp\core\WInterrupts.c.o"

sorry about that, new to this forum and we only use this program to learn programming at school but i do a little bit at home aswell.

thanks for putting the code in for me and yes and no depending on what you mean sometimes it completes and i dont get any error messages just the orange warning color but no message and sometimes it get stuck at 75% at just stay there for hours.

famezxl:
sometimes it completes and i dont get any error messages just the orange warning color

Leave the verbose output on and next time that happens post the output here. Maybe it will provide some clue to the cause.