Basically it dies at this line: parser.setListener(&listener);
with this error: Linking .pioenvs/nodemcuv2/firmware.elf .pioenvs/nodemcuv2/src/main.cpp.o:(.data.listener+0x0): undefined reference to ``vtable for ExampleListener'
The library itself is hardly documented and quite complex (at least to me). The author uses it in his weather station - which doesn’t really help, because although those examples compile, they are giant, complex listings with only few comments…
Would appreciate any help, this is driving me nuts!
No I meant before you changed them. Because I just put ExampleParser.cpp in the include/ directory and that gave me the same undefined reference to vtable for 'ExampleListener' error. This error is correct because source files placed in include/ are not compiled. Only those in src/ (or the libs) are.
Ah you mean the original Sketch?
I always copy it all over to main.cpp.
But usually /include is good enough for libraries, in this case since it’s a by-case-coding thing I guess it has to be in /src.