EmbeddedRelated.com
Jacob Beningo
Live online course · Jacob Beningo
AI for Embedded Developers
$100 off for EmbeddedRelated readers until Dec 6 · 5 live sessions, Dec 7-11
Discount ends in
28days 20hrs 53min 22sec
Learn More →

Using C++ on LPC3128

Started by soren_t_hansen in LPC2000●22 years ago ● 6 replies

I'm trying to use C++ to write a program to a LPC2138, and so far it was working ok. But when trying to make a virtual function the linker...

I'm trying to use C++ to write a program to a LPC2138, and so far it was working ok. But when trying to make a virtual function the linker reports the following error: /src/Blinky.o(.gnu.linkonce.r._ZTI11CLEDControl+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info' /src/Blinky.o(.gnu.linkonce.r._ZTI7CBlinky+0x0): undefined refe