-
Notifications
You must be signed in to change notification settings - Fork 145
Description
Hi!
I would like to build in VSCode with Platformio in debug mode (by putting build_type = debug into platformio.ini)
Unfortunatelly, the built will run into an error for unresolved symbols.
The error message I receive is:
c:/users/XYZ/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\nodemcu\src\main.cpp.o:(.text._ZNSt17_Function_handlerIFvvEZ5setupEUlvE_E9_M_invokeERKSt9_Any_data+0x4): undefined reference to
_ZTVN10iotwebconf17WebRequestWrapperE' c:/users/XYZ/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\nodemcu\src\main.cpp.o: in function_ZNSt14_Function_baseD4Ev':
C:\Users\XYZ.platformio\packages\framework-arduinoespressif8266\cores\esp8266/WString.h:210: undefined reference to_Z11configSavedv' c:/users/XYZ/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\nodemcu\lib8da\libIotWebConf.a(IotWebConf.cpp.o):(.text._ZN10iotwebconf10IotWebConfC2EPKcP9DNSServerPNS_16WebServerWrapperES2_S2_+0x0): undefined reference to_ZTVN10iotwebconf16WebServerWrapperE'
I was searching the internet and found this post, where the same/similar problem is described: https://sysprogs.com/w/forums/topic/cant-compile-debug-configuration-for-esp8226-and-iotwebconf/
Any hints, any tips?
Thank you!