Open MichaelBMiner opened 2 years ago
You need the latest Teensyduino 1.55 core library, which does define FileImpl
Maybe this can help?
Different error, but same fundamental problem - PlatformIO using outdated code.
Same issue, unfortunately for me he was able to update his PIO version and it worked. I am using the latest.
Do I need to run this in vs code? Can I run it from the arduino ide and still use the rtos?
I pointed my code to use the Arduino Teensy 1.55 files. Now I get the errors
.pio\libdeps\teensy41\SD\src/SD.h: In member function 'virtual File SDFile::openNextFile(uint8_t)': .pio\libdeps\teensy41\SD\src/SD.h:126:55: error: no matching function for call to 'File::File(SDFile*)' 126 | if (file) return File(new SDFile(file));
.pio\libdeps\teensy41\SD\src/SD.h: In member function 'virtual File SDClass::open(const char*, uint8_t)': .pio\libdeps\teensy41\SD\src/SD.h:158:55: error: no matching function for call to 'File::File(SDFile*)' 158 | if (file) return File(new SDFile(file));
expected class-name before '{' token
Use Arduino. The Teensyduino installer puts all the right files in place, so this sort of thing will "just work".
I opened the Arduino IDE, I am unable to open my current project. I will look more into it. Thanks for the help
Hello,
I am using your SD repo as a dependency in my platformio project. When I drill down to the error in SD.h I am told that "FileImpl not a class or struct name"
Where is FileImpl supposed to be defined? How can I fix this?