Go Down

Topic: I have a bad compiler? (Read 938 times) previous topic - next topic

5546doug

I have noticed lately that when I compile my sketches that have recently been fine have ended with the notation in error codes saying unable to upload to pro or promini.

However, I am only in compile mode and not upload mode.
Same thing happens in upload mode .
I have uninstalled 1.8.2 and reinstalled with no result.

I have supplied a screenshot.

Also now is the Java problem, again unistalled and reinstalled with 8-113

Any ideas?

I cant code now.

DrAzzy

#1
Jun 02, 2017, 10:18 pm Last Edit: Jun 02, 2017, 10:19 pm by DrAzzy
Click copy error messages, and copy/paste the error message here, don't post screenshots of error messages - you can't see the important parts of the error, and they're annoying to view because of the boneheaded way this forum treats image attachments.

Please use code tags to make it easier for us to read (the </> button in the upper left of the reply box)
ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy

5546doug


Here is the error code

Thanks in advance
doug






Arduino: 1.8.2 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Carolyn & Doug\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Carolyn & Doug\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10802 -build-path C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_553784 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Carolyn & Doug\Documents\Arduino\UniPWM_Sample3_dougmay_31\UniPWM_Sample3_dougmay_31.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Carolyn & Doug\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Carolyn & Doug\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10802 -build-path C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_553784 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Carolyn & Doug\Documents\Arduino\UniPWM_Sample3_dougmay_31\UniPWM_Sample3_dougmay_31.ino
Using board 'pro' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
Detecting libraries used...
"C:\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_553784\sketch\UniPWM_Sample3_dougmay_31.ino.cpp" -o "nul"
Exception 0xc0000090 0x0 0x0 0x102712
PC=0x102712

syscall.Syscall12(0x7647e320, 0xa, 0x12778a20, 0x12759b00, 0x0, 0x0, 0x1, 0x400, 0x1277d200, 0x0, ...)
   /home/jenkins/go/src/runtime/syscall_windows.go:196 +0x4a
syscall.CreateProcess(0x12778a20, 0x12759b00, 0x0, 0x0, 0x1, 0x400, 0x1277d200, 0x0, 0x123f1328, 0x123f12d4, ...)
   /home/jenkins/go/src/syscall/zsyscall_windows.go:583 +0x112
syscall.StartProcess(0x127763c0, 0x41, 0x126a9340, 0x1b, 0x1c, 0x123f13e0, 0x0, 0x0, 0x0, 0x0)
   /home/jenkins/go/src/syscall/exec_windows.go:326 +0x722
os.startProcess(0x127763c0, 0x41, 0x126a9340, 0x1b, 0x1c, 0x123f1514, 0x12784d00, 0x0, 0x0)
   /home/jenkins/go/src/os/exec_posix.go:45 +0x293
os.StartProcess(0x127763c0, 0x41, 0x126a9340, 0x1b, 0x1c, 0x123f1514, 0x0, 0x0, 0x0)
   /home/jenkins/go/src/os/doc.go:28 +0x53
os/exec.(*Cmd).Start(0x126e51e0, 0x0, 0x0)
   /home/jenkins/go/src/os/exec/exec.go:358 +0x6fa
os/exec.(*Cmd).Run(0x126e51e0, 0x0, 0x0)
   /home/jenkins/go/src/os/exec/exec.go:276 +0x2b
arduino.cc/builder/builder_utils.ExecRecipeCollectStdErr(0x1272dd60, 0x56c313, 0x15, 0x101, 0x5f4880, 0x614ef0, 0x0, 0x0, 0x0, 0x0)
   /home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder_utils/utils.go:413 +0x118
arduino.cc/builder.(*GCCPreprocRunnerForDiscoveringIncludes).Run(0x1272dd40, 0x1242a000, 0x0, 0x0)
   /home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/gcc_preproc_runner.go:93 +0x23c
arduino.cc/builder.runCommand(0x1242a000, 0x5f39b0, 0x1272dd40, 0x0, 0x0)
   /home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:183 +0x57
arduino.cc/builder.findIncludesUntilDone(0x1242a000, 0x1272dca0, 0x538ca0, 0x12756000, 0x12756210, 0x21, 0x0, 0x0)
   /home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:331 +0x1810
arduino.cc/builder.(*ContainerFindIncludes).Run(0x614ef0, 0x1242a000, 0x0, 0x0)
   /home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:149 +0xdfd
arduino.cc/builder.runCommands(0x1242a000, 0x123f1cc0, 0x22, 0x22, 0x1, 0x0, 0x0)
   /home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:191 +0xe2
arduino.cc/builder.(*Builder).Run(0x123f1de4, 0x1242a000, 0x0, 0x0)
   /home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:124 +0x89f
arduino.cc/builder.RunBuilder(0x1242a000, 0x0, 0x0)
   /home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:222 +0x35
main.main()
   /home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/arduino-builder/main.go:338 +0x1360
eax     0x0
ebx     0x32e5e008
ecx     0x0
edx     0x32e00000
edi     0x302c
esi     0x32e5e000
ebp     0xdf6d4
esp     0xdf6ac
eip     0x102712
eflags  0x10216
cs      0x23
fs      0x53
gs      0x2b
C:\Program Files (x86)\Arduino\arduino-builder returned 2
Error compiling for board Arduino Pro or Pro Mini.

DrAzzy

Uninstall IDE, delete:

C:/Users/(your username)/AppData (hidden folder)/Local/Arduino15

Reinstall IDE, and it should work.
ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy

5546doug


So this is the code now with reinstalled 1.8.2 and file deleted from appdata/local/

It did compile once.

As an additional note, using the file new as it appears and trying to compile only, this it is the same answer, cant upload to pro mini

doug





Code: [Select]

Arduino: 1.8.2 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Carolyn & Doug\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Carolyn & Doug\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10802 -build-path C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_661510 -warnings=none -build-cache C:\Users\CAROLY~1\AppData\Local\Temp\arduino_cache_141276 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Carolyn & Doug\Documents\Arduino\UniPWM_Sample3_dougmay_31\UniPWM_Sample3_dougmay_31.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Carolyn & Doug\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Carolyn & Doug\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10802 -build-path C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_661510 -warnings=none -build-cache C:\Users\CAROLY~1\AppData\Local\Temp\arduino_cache_141276 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Carolyn & Doug\Documents\Arduino\UniPWM_Sample3_dougmay_31\UniPWM_Sample3_dougmay_31.ino
Using board 'pro' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
Detecting libraries used...
"C:\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_661510\sketch\UniPWM_Sample3_dougmay_31.ino.cpp" -o "nul"
Exception 0xc0000090 0x0 0x0 0x102712
PC=0x102712

syscall.Syscall12(0x7647e320, 0xa, 0x12685b90, 0x124c0d80, 0x0, 0x0, 0x1, 0x400, 0x12486800, 0x0, ...)
/home/jenkins/go/src/runtime/syscall_windows.go:196 +0x4a
syscall.CreateProcess(0x12685b90, 0x124c0d80, 0x0, 0x0, 0x1, 0x400, 0x12486800, 0x0, 0x123f1328, 0x123f12d4, ...)
/home/jenkins/go/src/syscall/zsyscall_windows.go:583 +0x112
syscall.StartProcess(0x123cfbd0, 0x41, 0x1268a620, 0x1b, 0x1c, 0x123f13e0, 0x0, 0x0, 0x0, 0x0)
/home/jenkins/go/src/syscall/exec_windows.go:326 +0x722
os.startProcess(0x123cfbd0, 0x41, 0x1268a620, 0x1b, 0x1c, 0x123f1514, 0x12687380, 0x0, 0x0)
/home/jenkins/go/src/os/exec_posix.go:45 +0x293
os.StartProcess(0x123cfbd0, 0x41, 0x1268a620, 0x1b, 0x1c, 0x123f1514, 0x0, 0x0, 0x0)
/home/jenkins/go/src/os/doc.go:28 +0x53
os/exec.(*Cmd).Start(0x12660e70, 0x0, 0x0)
/home/jenkins/go/src/os/exec/exec.go:358 +0x6fa
os/exec.(*Cmd).Run(0x12660e70, 0x0, 0x0)
/home/jenkins/go/src/os/exec/exec.go:276 +0x2b
arduino.cc/builder/builder_utils.ExecRecipeCollectStdErr(0x126b4480, 0x56c313, 0x15, 0x101, 0x5f4880, 0x614ef0, 0x0, 0x0, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder_utils/utils.go:413 +0x118
arduino.cc/builder.(*GCCPreprocRunnerForDiscoveringIncludes).Run(0x126b4460, 0x12452000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/gcc_preproc_runner.go:93 +0x23c
arduino.cc/builder.runCommand(0x12452000, 0x5f39b0, 0x126b4460, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:183 +0x57
arduino.cc/builder.findIncludesUntilDone(0x12452000, 0x126b4320, 0x538ca0, 0x12747d70, 0x126cecf0, 0x21, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:331 +0x1810
arduino.cc/builder.(*ContainerFindIncludes).Run(0x614ef0, 0x12452000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:149 +0xdfd
arduino.cc/builder.runCommands(0x12452000, 0x123f1cc0, 0x22, 0x22, 0x1, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:191 +0xe2
arduino.cc/builder.(*Builder).Run(0x123f1de4, 0x12452000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:124 +0x89f
arduino.cc/builder.RunBuilder(0x12452000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:222 +0x35
main.main()
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/arduino-builder/main.go:338 +0x1360
eax     0x0
ebx     0x32f8e008
ecx     0x0
edx     0x32f30000
edi     0x31cc
esi     0x32f8e000
ebp     0xdf6d4
esp     0xdf6ac
eip     0x102712
eflags  0x10216
cs      0x23
fs      0x53
gs      0x2b
C:\Program Files (x86)\Arduino\arduino-builder returned 2
Error compiling for board Arduino Pro or Pro Mini.


DrAzzy

So it worked once, and now fails with same behavior?

And I'll bet that exiting IDE, deleting that folder, and restarting IDE makes it work again... once?

ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
http://drazzy.com/package_drazzy.com_index.json
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy

5546doug

Today this is the error coding I get trying to just compile a bare sketch from the IDE

I find this strange - there must be a clue in this,
 
Doug

Code: [Select]


Arduino: 1.8.2 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Carolyn & Doug\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Carolyn & Doug\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10802 -build-path C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_835825 -warnings=none -build-cache C:\Users\CAROLY~1\AppData\Local\Temp\arduino_cache_474525 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\CAROLY~1\AppData\Local\Temp\untitled1393587560.tmp\sketch_jun03a\sketch_jun03a.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Carolyn & Doug\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Carolyn & Doug\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10802 -build-path C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_835825 -warnings=none -build-cache C:\Users\CAROLY~1\AppData\Local\Temp\arduino_cache_474525 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\CAROLY~1\AppData\Local\Temp\untitled1393587560.tmp\sketch_jun03a\sketch_jun03a.ino
Using board 'pro' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
Detecting libraries used...
"C:\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_835825\sketch\sketch_jun03a.ino.cpp" -o "nul"
Exception 0xc0000090 0x0 0x0 0x102712
PC=0x102712

syscall.Syscall12(0x7647e320, 0xa, 0x112950e0, 0x11289b00, 0x0, 0x0, 0x1, 0x400, 0x112a9200, 0x0, ...)
/home/jenkins/go/src/runtime/syscall_windows.go:196 +0x4a
syscall.CreateProcess(0x112950e0, 0x11289b00, 0x0, 0x0, 0x1, 0x400, 0x112a9200, 0x0, 0x10f21328, 0x10f212d4, ...)
/home/jenkins/go/src/syscall/zsyscall_windows.go:583 +0x112
syscall.StartProcess(0x112a4500, 0x41, 0x111d9420, 0x1b, 0x1c, 0x10f213e0, 0x0, 0x0, 0x0, 0x0)
/home/jenkins/go/src/syscall/exec_windows.go:326 +0x722
os.startProcess(0x112a4500, 0x41, 0x111d9420, 0x1b, 0x1c, 0x10f21514, 0x112104e0, 0x0, 0x0)
/home/jenkins/go/src/os/exec_posix.go:45 +0x293
os.StartProcess(0x112a4500, 0x41, 0x111d9420, 0x1b, 0x1c, 0x10f21514, 0x0, 0x0, 0x0)
/home/jenkins/go/src/os/doc.go:28 +0x53
os/exec.(*Cmd).Start(0x112153f0, 0x0, 0x0)
/home/jenkins/go/src/os/exec/exec.go:358 +0x6fa
os/exec.(*Cmd).Run(0x112153f0, 0x0, 0x0)
/home/jenkins/go/src/os/exec/exec.go:276 +0x2b
arduino.cc/builder/builder_utils.ExecRecipeCollectStdErr(0x1125de00, 0x56c313, 0x15, 0x101, 0x5f4880, 0x614ef0, 0x0, 0x0, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder_utils/utils.go:413 +0x118
arduino.cc/builder.(*GCCPreprocRunnerForDiscoveringIncludes).Run(0x1125dde0, 0x10f5a000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/gcc_preproc_runner.go:93 +0x23c
arduino.cc/builder.runCommand(0x10f5a000, 0x5f39b0, 0x1125dde0, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:183 +0x57
arduino.cc/builder.findIncludesUntilDone(0x10f5a000, 0x1125dcc0, 0x538ca0, 0x11284030, 0x1125dd00, 0x15, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:331 +0x1810
arduino.cc/builder.(*ContainerFindIncludes).Run(0x614ef0, 0x10f5a000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:149 +0xdfd
arduino.cc/builder.runCommands(0x10f5a000, 0x10f21cc0, 0x22, 0x22, 0x1, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:191 +0xe2
arduino.cc/builder.(*Builder).Run(0x10f21de4, 0x10f5a000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:124 +0x89f
arduino.cc/builder.RunBuilder(0x10f5a000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:222 +0x35
main.main()
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/arduino-builder/main.go:338 +0x1360
eax     0x0
ebx     0x32e5e008
ecx     0x0
edx     0x32e00000
edi     0x27c8
esi     0x32e5e000
ebp     0xdf6d4
esp     0xdf6ac
eip     0x102712
eflags  0x10216
cs      0x23
fs      0x53
gs      0x2b
C:\Program Files (x86)\Arduino\arduino-builder returned 2
Error compiling for board Arduino Pro or Pro Mini.


5546doug

Here is another error page this is after three tries to compile the same sketch but with a different error message

What is going on as these did compile at one time?

Also if I do try and upload error message on screen in orange bar says to look in  # troubleshooting.

Help

Code: [Select]

Arduino: 1.8.2 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Carolyn & Doug\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Carolyn & Doug\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10802 -build-path C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516 -warnings=none -build-cache C:\Users\CAROLY~1\AppData\Local\Temp\arduino_cache_939100 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Carolyn & Doug\Documents\Arduino\UniPWM_Sample3_dougmay_31\UniPWM_Sample3_dougmay_31.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Carolyn & Doug\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Carolyn & Doug\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10802 -build-path C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516 -warnings=none -build-cache C:\Users\CAROLY~1\AppData\Local\Temp\arduino_cache_939100 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Carolyn & Doug\Documents\Arduino\UniPWM_Sample3_dougmay_31\UniPWM_Sample3_dougmay_31.ino
Using board 'pro' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
Detecting libraries used...
"C:\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516\sketch\UniPWM_Sample3_dougmay_31.ino.cpp" -o "nul"
"C:\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Carolyn & Doug\Documents\Arduino\libraries\UniPWM_1.0.5" "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516\sketch\UniPWM_Sample3_dougmay_31.ino.cpp" -o "nul"
Using cached library dependencies for file: C:\Users\Carolyn & Doug\Documents\Arduino\libraries\UniPWM_1.0.5\UniPWM.cpp
Using cached library dependencies for file: C:\Users\Carolyn & Doug\Documents\Arduino\libraries\UniPWM_1.0.5\UniPWMControl.cpp
Generating function prototypes...
"C:\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  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Carolyn & Doug\Documents\Arduino\libraries\UniPWM_1.0.5" "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516\sketch\UniPWM_Sample3_dougmay_31.ino.cpp" -o "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\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\CAROLY~1\AppData\Local\Temp\arduino_build_242516\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\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 -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR   "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\Users\Carolyn & Doug\Documents\Arduino\libraries\UniPWM_1.0.5" "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516\sketch\UniPWM_Sample3_dougmay_31.ino.cpp" -o "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516\sketch\UniPWM_Sample3_dougmay_31.ino.cpp.o"
Compiling libraries...
Compiling library "UniPWM_1.0.5"
Using previously compiled file: C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516\libraries\UniPWM_1.0.5\UniPWM.cpp.o
Using previously compiled file: C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516\libraries\UniPWM_1.0.5\UniPWMControl.cpp.o
Compiling core...
Using precompiled core
Linking everything together...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p  -o "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516/UniPWM_Sample3_dougmay_31.ino.elf" "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516\sketch\UniPWM_Sample3_dougmay_31.ino.cpp.o" "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516\libraries\UniPWM_1.0.5\UniPWM.cpp.o" "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516\libraries\UniPWM_1.0.5\UniPWMControl.cpp.o" "C:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516/..\arduino_cache_939100\core\core_arduino_avr_pro_cpu_16MHzatmega328_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\Users\CAROLY~1\AppData\Local\Temp\arduino_build_242516" -lm
C:\Users\CAROLY~1\AppData\Local\Temp\ccqhUi7Q.ltrans0.ltrans.o: In function `__static_initialization_and_destruction_0':

C:\Users\Carolyn & Doug\Documents\Arduino\UniPWM_Sample3_dougmay_31/UniPWM_Sample3_dougmay_31.ino:33: undefined reference to `operator new(unsigned int)'

C:\Users\Carolyn & Doug\Documents\Arduino\UniPWM_Sample3_dougmay_31/UniPWM_Sample3_dougmay_31.ino:34: undefined reference to `operator new(unsigned int)'

C:\Users\Carolyn & Doug\Documents\Arduino\UniPWM_Sample3_dougmay_31/UniPWM_Sample3_dougmay_31.ino:35: undefined reference to `operator new(unsigned int)'

C:\Users\Carolyn & Doug\Documents\Arduino\UniPWM_Sample3_dougmay_31/UniPWM_Sample3_dougmay_31.ino:38: undefined reference to `operator new(unsigned int)'

C:\Users\Carolyn & Doug\Documents\Arduino\UniPWM_Sample3_dougmay_31/UniPWM_Sample3_dougmay_31.ino:38: undefined reference to `operator new(unsigned int)'

C:\Users\CAROLY~1\AppData\Local\Temp\ccqhUi7Q.ltrans0.ltrans.o:C:\Users\Carolyn & Doug\Documents\Arduino\UniPWM_Sample3_dougmay_31/UniPWM_Sample3_dougmay_31.ino:38: more undefined references to `operator new(unsigned int)' follow

c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/lib/avr5/crtatmega328p.o:(.init9+0x0): undefined reference to `main'

collect2.exe: error: ld returned 1 exit status

Using library UniPWM_1.0.5 in folder: C:\Users\Carolyn & Doug\Documents\Arduino\libraries\UniPWM_1.0.5 (legacy)
exit status 1
Error compiling for board Arduino Pro or Pro Mini.


Delta_G

I don't see this upload error you speak of.  I just see the error saying it couldn't compile for that board. 
|| | ||| | || | ||  ~Woodstock

Please do not PM with technical questions or comments.  Keep Arduino stuff out on the boards where it belongs.

5546doug

At the end of the error code when I compile only the last line says I cant upload to pro mini.
 This is true but I am not uploading  how can I fix all this.

I will try and delete all things I see on the laptop that relates and download a fresh copy of 1.8.2

This seems like it is a growing problem and will check also on virises

doug

johnwasser

One possible source of the problem is the user directory named "Carolyn & Doug".  To test that, create a new user account without spaces or punctuation in the name and try installing there.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

Go Up