EDIT: This was a previous post from a couple of days ago that the mods merged with my 2nd post below that describes my current issue. I have a stop-gap in place that gets around most of the issues described in this first post, but it describes my set up pretty well so I linked to it.
Thanks!
Hello, when I try and compile the "blink" test program, I'm getting these errors:
"Error while detecting libraries included by /tmp/arduino_build_973026/sketch/Blink.ino.cpp"
...
"error: no include path in which to search for Arduino.h"
I'm using the Arduino 1.8.13 IDE, and I'm not seeing an obvious place to add include paths for the compiler to search.
My set up might be a little strange - I had to manually install the board because I can't get internet on this computer, and don't have an equivalent system that I can use to download to and replicate from.
To do this, I:
-
Downloaded https://files.seeedstudio.com/arduino/core/samd/ArduinoCore-samd-1.8.1.tar.bz2, which is the most recent Seeeduino Xiao package listed on the Seeeduino json package list:
https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json -
Placed the ArduinoCore-samd-1.8.1 folder into the /home/user/Arduino/hardware directory
-
Copied the boards.txt, keywords.txt, platform.txt, programmers.txt and package.json files into the "/home/user/Arduino/hardware/ArduinoCore-samd-1.8.1/cores" directory because of error messages where the compiler couldn't find them.
I tried copying "Arduino.h" and dozens of other missing files from the ArduinoCore-samd-1.8.1 package directly into the folder containing the blink .ino file, just to see if that might work, but I eventually landed on a "sam.h" file missing error, and it looks like that file wasn't included in either the ArduinoCore-samd-1.8.1 zip or the Arduino 1.8.13 IDE zip, and it looks like it has been deprecated for quite some time anyway.
Does anyone have any thoughts on what I could try next?
Thanks!