GLBox example

Roberto Raggi raggi at cli.di.unipi.it
Thu Nov 14 13:47:56 GMT 2002


On Thursday 14 November 2002 12:28, you wrote:
> 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.

try with  
make force-reedit all

ciao robe



-
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