Weird error message
Richard Moore
rich at kde.org
Mon Jun 5 16:35:35 BST 2000
Marcus Schwickert wrote:
>
> Hi everybody!
> I'm working on a small project and suddenly I had problems to compile one
> of my classes. I REMed more and more of the class PROGRAMDIALOG but the
> error message stays:
You forgot to link in the .moc file. Add a line like #include
"programdialog.moc"
to the .cpp file.
Rich.
>
> ... programdialog.o: In function 'QSenderObject type_info function'
> gmake[1]: Leaving directory ....
>
> ...programdialog.cpp:24: undefined reference to
> 'ProgramDialog::QPaintDevice virtual table'
>
> ...programdialog.cpp:24: undefined reference to 'ProgramDialog virtual
> table'
>
> collect2: ld returned 1 exit status
>
> Can anybody help me??? I'm using SUSE6.4, kdevelop1.1 on a PII 300.
>
> Tanks in advance, SCHWICK
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Marcus Schwickert
> II. Physikalisches Institut Tel. +49 0551 397630
> Bunsenstr. 7-9 FAX +49 0551 394493
> D-37073 Göttingen Email: schwick at physik2.uni-goettingen.de
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Richard Moore rich at ipso-facto.freeserve.co.uk
http://www.robocast.com/ richard at robocast.com
http://developer.kde.org/ rich at kde.org
More information about the KDevelop
mailing list