nevetsokyeron
Member
I have a project that has been working just fine and today a github continuous integration started throwing an error with regards to PlatformIO compiling.
Seems there's been some update to the teensy libraries? My previous install was working fine, but after updating teensy libraries I see the compile error on my setup as well (PIO in vscode). Errors below
This seems related to changes to EEPROM.h on April 8, 2022 (?)
I see the same issue when compiling with a brand new install of Teensyduino 1.57
Stackoverflow shows some solutions for this type of error by including
But - shouldn't that be part of the EEPROM library?
What am I doing wrong?
Seems there's been some update to the teensy libraries? My previous install was working fine, but after updating teensy libraries I see the compile error on my setup as well (PIO in vscode). Errors below
This seems related to changes to EEPROM.h on April 8, 2022 (?)
I see the same issue when compiling with a brand new install of Teensyduino 1.57
Stackoverflow shows some solutions for this type of error by including
Code:
#include <string>
using namespace std;
But - shouldn't that be part of the EEPROM library?
What am I doing wrong?
Code:
In file included from OMX-27-firmware/storage.cpp:1:0:
/Users/nevetsokyeron/.platformio/packages/framework-arduinoteensy/libraries/EEPROM/EEPROM.h:171:14: error: 'String' does not name a type
inline const String &EEPROMClass::put(int idx, const String &s)
^
/Users/nevetsokyeron/.platformio/packages/framework-arduinoteensy/libraries/EEPROM/EEPROM.h:191:8: error: 'String' does not name a type
inline String &EEPROMClass::get(int idx, String &s){
^