undefined reference under kdevelop and console

hi,i started a week back ,im currently following openGL programming guide and reference manual,using glut to call a window,
i ve included gl.h, glu.h & glut.h ,a simple sample code from the book doesnt run says undefined references to all enlisted gl*() functions,what does this mean,os is mandrake 9,kde,and nv geforce 2 mx…

i tried gcc -L<lib path>
it still doesnt work…anyone…?

Hi,

Try gcc -L<lpath> -lgl [-lglu]

Hope libgl.* and libglu.* is available in lpath.

Note :

In kde are you using K-develope?
Look under project options and linker settings, add -lGL -lGLU -lglut “Note case is important”

Originally posted by balN:
[b]hi,i started a week back ,im currently following openGL programming guide and reference manual,using glut to call a window,
i ve included gl.h, glu.h & glut.h ,a simple sample code from the book doesnt run says undefined references to all enlisted gl*() functions,what does this mean,os is mandrake 9,kde,and nv geforce 2 mx…

i tried gcc -L<lib path>
it still doesnt work…anyone…?[/b]