[OT] Re: GLBox example

Tarjei Knapstad tarjeik at chemcon.no
Thu Nov 14 14:36:31 GMT 2002


On Thu, 2002-11-14 at 14:47, Roberto Raggi wrote:
> 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
> 
And don't use the root account for anything else than administration
purposes.

T


-
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