Closed mm108 closed 4 years ago
@m-menon The latest PlatformIO Core broke LDF it seems and your code is trying to compile both the ESP32 and ESP8266 versions. The above compilation failure can be fixed with this addition to your platformio.ini file:
lib_compat_mode=strict
With this flag LDF ignores libraries which do not apply to the current platform (among other checks).
@atanisoft okay cool. I'll try this method as well.
Thank you @atanisoft It worked like magic.. I spent hours re-installing the platformio IDE, deleting cached libs etc until I saw your suggestion.
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.
@atanisoft Hi dear I have same problem, but I don't understand the solution you tell us, can you explain the steps please?
I get this error when I try to compile on PlatformIO. The framework is Arduino. Is there any known fix for this?