Hi,
With v0.12 wich fix usb port enumeration, I was able to upload directly to an Arduino board.
After testing the basic blink example, I wanted to tried using an LCD display, using the node text-lcd-16x2
.
This is a really simple hello world test:
But uploading to the arduino board failed, as it can find the required library:
Error occured during uploading: ChildProcessError: Command failed: "C:\Users\<user>\AppData\Local\Programs\xod-client-electron\resources\arduino-builder\arduino-builder.exe" -hardware="C:\Users\<user>\AppData\Local\Programs\xod-client-electron\resources\arduino-builder\hardware" -hardware="C:\Users\<user>\AppData\Roaming\xod-client-electron\packages" -tools="C:\Users\<user>\AppData\Local\Programs\xod-client-electron\resources\arduino-builder\tools" -tools="C:\Users\<user>\AppData\Roaming\xod-client-electron\packages" -fqbn="arduino:avr:uno" -build-path="C:\Users\<user>\AppData\Roaming\xod-client-electron\upload-temp\build" "C:\Users\<user>\AppData\Roaming\xod-client-electron\upload-temp\xod-arduino-sketch.cpp"
C:\Users\<user>\AppData\Roaming\xod-client-electron\upload-temp\xod-arduino-sketch.cpp:924:27: fatal error: LiquidCrystal.h: No such file or directory
#include <LiquidCrystal.h>
^
compilation terminated.
exit status 1
`"C:\Users\<user>\AppData\Local\Programs\xod-client-electron\resources\arduino-builder\arduino-builder.exe" -hardware="C:\Users\<user>\AppData\Local\Programs\xod-client-electron\resources\arduino-builder\hardware" -hardware="C:\Users\<user>\AppData\Roaming\xod-client-electron\packages" -tools="C:\Users\<user>\AppData\Local\Programs\xod-client-electron\resources\arduino-builder\tools" -tools="C:\Users\<user>\AppData\Roaming\xod-client-electron\packages" -fqbn="arduino:avr:uno" -build-path="C:\Users\<user>\AppData\Roaming\xod-client-electron\upload-temp\build" "C:\Users\<user>\AppData\Roaming\xod-client-electron\upload-temp\xod-arduino-sketch.cpp"` (exited with error code 1)
After quickly looking at xod installation and roaming folder, it seems there is no library bundled (except very basic ones for Arduino base in C:\Users\<user>\AppData\Roaming\xod-client-electron\packages\arduino\hardware\avr\libraries
.
Is this normal and we need to install the library (but where and how to tell XOD to use the required include path for the compilation)?