undefined reference to vtable. Due to project problems?
Gunther Piez
gpiez at web.de
Thu Dec 4 09:25:35 GMT 2003
Cornelius Koelbel wrote:
> Hello,
>
> I have updated from 2.1.5 to the latest snapshot and konverted my
> project.
> But when I compile it, I get a huge list of errors:
>
> /home/corny/src/kavi2svcd/kavi2svcd/askdlgclass.cpp:20: undefined
> reference to `AskDlg::AskDlg[not-in-charge](QWidget*, char const*,
> bool, unsigned)'
> *
> askdlgclass.o(.text+0x23):/home/corny/src/kavi2svcd/kavi2svcd/askdlgclass.cpp:20:
> undefined reference to `vtable for AskDlgClass'
>
> In each source-file I get undefined references...
> Does the project not know some (header-) files?
Those errors usually appear when moc isn't run.
Some suggestions:
Try run it manually to verify this is the problem.
There is a variable AUTOMOC (or similar) for your Makefile.am, make sure
it is set.
Run autoconf/configure before compiling.
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list