Linker errors in Kdevelop; missing libraries?

i am using kdevelop to compile the “white box on black background” (very simple) example from the red book. i already #include 'd <GL/glut.h> but i get linker errors (undefined references) for all my glut calls. my distribution is mandrake 8.1. could i be missing the gl/glut libraries? where can i download them? Thanks

You need to link with the GLU library too. Go in Project/Options/Linker Options, add ‘-lGLU’ in the ‘additional libraries’ entry.

you need to link to gl, glu, glut and math

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.