Closed DanielW0830 closed 1 year ago
It's prob some version of the core I'm using.... dunno....
PACKAGES:
The library developed in VScode and PlatformIO and everything works normally in PlatformIO and Arduino IDE.
This error is not related to library unless your PlatformIO installation and update issue.
Please read this and follow when you updated your PlatformIO from older 2.0.0 to the newer version. https://github.com/mobizt/ESP-Mail-Client#library-instalation
In summary, you need to clear the old installation of this library that may be installed globally in your PC temp directory since PlatformIO older version.
In PlatformIO newer version, the library will be installed locally to the project folder.
When the compiler (linker) searches for the header file and sees multiples files with the same name from both local storage and global storage, it may choose the wrong older one to compile and causes the compilation error.
MB_String.h is the wrong file links in this case as this old version file remains in your PlatformIO global temp folder.
Build tool used:
Board used (ESP32/ESP8266/Arudino):
Other Libraries That are used:
when I try to use the latest version of the lib I get arror in MB_String Older versions work, (I think 1.6.2, but not the newer ones)
Share code snippet to reproduce the issue:
Additional information and things you've tried: