PDA

View Full Version : GLU not found when compiling OpenGL



nucleus
19th April 2006, 03:41 PM
i tried compiling OpenGl in Kdevelop using the qt api, the include: <qgl.h>
when i try compiling the program i get:
/usr/lib/qt-3.3/include/qgl.h:80:21: error: GL/glu.h: No such file or directory

glxinfo returns:
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

and i have mesa-glu installed...
can someone help me fix this?

tashirosgt
20th April 2006, 04:14 PM
Use the locate command to see if you have GL/glu.h on your hard drive.
If not, perhaps you need a "devel" package associated with mesa. Use pbone.net or "yum provides glu.h" to find what package contains the missing file.