GLBox example

Massei Leonardo leonardo.massei at guest.cnuce.cnr.it
Thu Nov 14 11:28:51 GMT 2002


Hi,
I haven't solved the GLBox (in $QTDIR/doc/examples/opengl/)
building problem, again.
I've created a C++ project, i've defined the paths for the
include files and library and, finally, i've checked the libqt,
libGL and libGLU libraries. When i go to build the project,
the msg window shows the following errors:

 - /root/cpp-projects/OGBox-0.1/glbox.cpp:32: undefined reference to
'GLBox virtual table'
 - /root/cpp-projects/OGBox-0.1/glbox.cpp:32: undefined reference to
'GLBox::QPaintDevice virtual table'
 - glbox.o: In function 'GLBox::~GLBox(void)':
 - /root/cpp-projects/OGBox-0.1/glbox.cpp:44: undefined reference to
'GLBox virtual table'
 - /root/cpp-projects/OGBox-0.1/glbox.cpp:44: undefined reference to
'GLBox::QPaintDevice virtual table'

PS: i don't forgot to include the moc file (i use KDevelop IDE), i don't
forgot the Q_OBJECT macro (GLBox it's right !) and in Project -->
linker Options --> Additional libraries i have -lGL -lGLU -lglut.


Thank

-
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