Need Help cannot upload uno Board


#1

Cannot upload directly to Upload failed. ChildProcessError: Command failed: “C:\Program Files\XOD IDE\resources\arduino-builder\arduino-builder.exe” -hardware=“C:\Program Files\XOD IDE\resources\arduino-builder\hardware” -hardware=“C:\Users\Pierre\AppData\Roaming\xod-client-electron\packages” -libraries=“C:\Program Files\XOD IDE\resources\arduino-libraries” -tools=“C:\Program Files\XOD IDE\resources\arduino-builder\tools” -tools=“C:\Users\Pierre\AppData\Roaming\xod-client-electron\packages” -fqbn=“arduino:avr:uno” -build-path=“C:\Users\Pierre\AppData\Roaming\xod-client-electron\upload-temp\build” “C:\Users\Pierre\AppData\Roaming\xod-client-electron\upload-temp\xod-arduino-sketch.cpp”
c:/users/pierre/appdata/roaming/xod-client-electron/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/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 exit status 1"C:\Program Files\XOD IDE\resource Uno Board see error messages:


#2

Hello!

Looks like incomplete toolchain installation. Could you browser to:

C:\Users\Pierre\AppData\Roaming\xod-client-electron\packages

And then deeper to:

arduino/hardware/avr/cores/arduino

Please, confirm that file main.cpp is there.

If not, kill the C:\Users\Pierre\AppData\Roaming\xod-client-electron\packages, reload IDE and upload again. Give IDE enough time to download and unzip all dependencies, i.e., wait until the first upload succeeds.