AK-Homberger/NMEA2000WifiGateway-with-ESP32

Compiling on PlatformIO

AAKFISHERMANN opened this issue · 3 comments

HI, i tried to compile this code on Atom PlatformIO. Using different espressif32 platform versions (1.7.0, 1.8.0 and the last 1.12.4) i have the same error at the end of compiling;

Linking .pio\build\esp32doit-devkit-v1\firmware.elf
.pio\build\esp32doit-devkit-v1\src\main.cpp.o:(.literal.startup._GLOBAL__sub_I_NMEA2000+0x10): undefined reference to vtable for tN2kDataToNMEA0183'** .pio\build\esp32doit-devkit-v1\src\main.cpp.o:(.literal._Z4loopv+0x4): **undefined reference to tN2kDataToNMEA0183::Update(tBoatData)'*
.pio\build\esp32doit-devkit-v1\src\main.cpp.o: In function loop()': main.cpp:(.text._Z4loopv+0x39): **undefined reference to tN2kDataToNMEA0183::Update(tBoatData*)'**
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\esp32doit-devkit-v1\firmware.elf] Error 1

Is there some kind a problem in one library?
Thanks

PlatformIO is not supported.