# Upload to arduino Compilation failed

**URL:** <https://forum.xod.io/t/upload-to-arduino-compilation-failed/1455>\
**Category:** Uncategorized\
**Created:** [December 1, 2018, 4:46am UTC](https://forum.xod.io/t/upload-to-arduino-compilation-failed/1455 "2018-12-01T04:46:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mauricebev](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@mauricebev](https://forum.xod.io/u/mauricebev)\
**Post date:** [December 1, 2018, 4:46am UTC](https://forum.xod.io/t/upload-to-arduino-compilation-failed/1455/1 "2018-12-01T04:46:46Z")

</div>

Error: exec: “/bin/avr-g++”: file does not exist Compilation failed.

Compilation failed Command `C:\Program Files\XOD IDE\resources\arduino-cli.exe --config-file=C:\Users\mauri\AppData\Local\Temp\arduino-clieFzh7O\.cli-config.yml compile --fqbn arduino:avr:uno --verbose C:\Users\mauri\AppData\Local\Temp\xod_temp_sketchbookygEkMa\xod_1543638617334_sketch` failed with code 1 The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.

Please help I can’t upload to arduino.

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [December 1, 2018, 6:49am UTC](https://forum.xod.io/t/upload-to-arduino-compilation-failed/1455/2 "2018-12-01T06:49:19Z")

</div>

> [@mauricebev](#):
>
> The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. `Fix C++ errors to continue`

hello, if you look at the in the immediate top part the errors are explained. Scroll the log up
