I tried to compile gears.c under SuSe.
I have header file in /usr/X11R6/include/FL not in default GL.
and lib files in /usr/X11R6/lib.
I also changed the #include <GL/glut.h> to <FL/glut.h>
but I still can not complie it. The error message is :
I run glxinfo, it showes many information and Opengl (Mesa package). But the head file and library are in mass.
/usr/include/GL/glu.h
/usr/include/GL/gl.h
/usr/X11R6/include/FL/glut.h
First FLTK (Fast Light Tool Kit) is a GUI library like GLUT, but more advanced.
The /FL/glut.h library is for glut emulation under FLTK and I read from the FLTK website that the glut.h header in the FL/glut.h is for use with the FLTK library only.
If you need to get a copy of the correct glut.h header, e-mail me and I can send it to you.
then place it here:
/usr/include/GL/glut.h for glut use
I would be careful not to get the two files crossed.
Originally posted by windhair:
[b]Still not works.
I run glxinfo, it showes many information and Opengl (Mesa package). But the head file and library are in mass.
/usr/include/GL/glu.h
/usr/include/GL/gl.h
/usr/X11R6/include/FL/glut.h