PDA

View Full Version : ogl compilation under linux



09-06-2000, 12:48 PM
with ogl sources, i got messages (error) like this one :
1.o(.text+0x401): undefined reference to `glutKeyboardFunc'
1.o(.text+0x409): undefined reference to `glutMainLoop'

i got MesaGL lib and utah glx install...

anyone can help me ?

dorbie
09-06-2000, 09:40 PM
Your program requires glut (GL Utility library) this is a free library you need to download. You might already have it though. Try to include <glut.h>, and link to the glut library -lglut. If not you should download and install it, a quick see this:
http://reality.sgi.com/opengl/glut3/glut3.html