Open tsochatzki opened 2 years ago
Hi Thomas (@tsochatzki) Many thanks for that finding! I will check this and add the missing include in the next release
@tsochatzki which version of the Arduino Esp32 have you installed? Do you use platform.io as environment or the Arduino IDE itself
?
Hi Cornelius, iam using the Arduino IDE and the following ESP32 Version: 2.0.2
Hi Cornelius, while trying the trainhub.ino i get the following issue: In file included from C:\Users\tsoch\sketchbook\libraries\Legoino\src\LegoinoCommon.cpp:11: C:\Users\tsoch\sketchbook\libraries\Legoino\src\LegoinoCommon.h:30:15: error: 'string' in namespace 'std' does not name a type static std::string ColorStringFromColor(Color color); ^'; did you forget to '#include '?
C:\Users\tsoch\sketchbook\libraries\Legoino\src\LegoinoCommon.h:16:1:
+#include
~C:\Users\tsoch\sketchbook\libraries\Legoino\src\LegoinoCommon.h:30:10: note: 'std::string' is defined in header 'After updating the LegoinoCommon.h with the #include "string" it works without any issue.
Regards, Thomas