EmbeddedRelated.com

Using C++ on LPC3128

Started by soren_t_hansen in LPC200020 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