update: it gets a bit farther if I do pio run
instead of compiling from within sublime text – in that case, I get error: 'BUILTIN_SDCARD' was not declared in this scope
. Figured this was because it’s not using the right SD library, so I cloned the correct one into the local libs
directory, but then I get:
In file included from /Users/sam/code/arduino/fountain/sam/full_build_v3_pio/src/full_build_v3.ino:27:0:
lib/SD/src/SD.h:54:1: error: expected class-name before '{' token
{
^
lib/SD/src/SD.h: In member function 'virtual File SDFile::openNextFile(uint8_t)':
lib/SD/src/SD.h:126:41: error: no matching function for call to 'File::File(SDFile*)'
if (file) return File(new SDFile(file));
Any thoughts?