12 Feb
2004
12 Feb
'04
10:34
On Thu, 2004-02-12 at 05:25 -0500, Steven T. Hatton wrote:
cube.o(.text+0x39): In function `Cube::Cube[not-in-charge](QWidget*, char const*)': : undefined reference to `QGLWidget::QGLWidget[not-in-charge](QWidget*, char const*, QGLWidget const*, unsigned)'
Add -lGL and -lGLU to the compiler flags (I assume you have OpenGL installed on your system). Also, for some reason, libqt in the supplementary 3.3 doesn't have any gl functions but the multi threaded version does, I'm not sure if this is intended or just a build error, but to get this to compile, change -lqt to -lqt-mt