Error compiling [solved]

Started by NewLux, July 30, 2019, 07:15:25 AM

NewLux

Hello,
I try to compile the software on Arduino IDE.

I add the four libraries. (I can add directly: FlashStorage and Adafruit_FreeTouch with Sketch>Include library> Add .ZIP files)
Then, I had to add cppsrc and csrc (the two main folders of https://github.com/olikraus/u8g2/wiki/u8g2reference)
Also: I added ATMEL (and there is sam.h in it)

But I have after few seconds:
In file included from C:\Users\User\AppData\Local\Arduino15\packages\Moteino\hardware\samd\1.2.0\variants\current_ranger\variant.h:41:0,

                 from C:\Users\User\AppData\Local\Arduino15\packages\Moteino\hardware\samd\1.2.0\variants\current_ranger\variant.cpp:107:

C:\Users\User\AppData\Local\Arduino15\packages\Moteino\hardware\samd\1.2.0\cores\arduino/WVariant.h:22:10: fatal error: sam.h: No such file or directory

 #include "sam.h"

          ^~~~~~~

compilation terminated.

exit status 1
Error compiling for board CurrentRanger.


Did you have the same issue ?

Thank you

NewLux

I see an update in the Library manager.
I can compile now.
Thank you