Working on my project all evening and then I received this error… I have deleted my .pioenvs folder as suggested by another user on a different thread. I have rebooted with no success… Why am I receiving this linking error all of a sudden? and what can I do to troubleshoot this?
.pioenvs\d1_mini\libESP8266WiFi.a(ESP8266WiFiGeneric.o):(.text._ZN23ESP8266WiFiGenericClass14_eventCallbackEPv+0x4): undefined reference to `std::__detail::_List_node_base
.pioenvs\d1_mini\libESP8266WiFi.a(ESP8266WiFiGeneric.o): In function `ESP8266WiFiGenericClass::_eventCallback(void*)':
ESP8266WiFiGeneric.cpp:(.text._ZN23ESP8266WiFiGenericClass14_eventCallbackEPv+0x64): undefined reference to `std::__detail::_List_node_base::_M_unhook()'
collect2.exe: error: ld returned 1 exit status
scons: *** [.pioenvs\d1_mini\firmware.elf] Error 1
I have successfully uploaded my code to my D1 mini numerous times and had made only some simple changes to the code (ie. no new includes or object references).
I have just started using PlatformIO and I really like it since it has allowed me to break my code out into proper class definitions. Not sure I can go back to Arduino IDE now…
Home screen reads, IDE 1.3.3 | CLI 2.11.1 Atom is 1.8.0 ;
Apparently everything is up to date so a real head scratcher at this end.
Any help greatly appreciated!