problem compiling freeglut-2.4.0

Dennis Veatch dennisveatch at
Thu Nov 1 11:28:44 CET 2007

On Wednesday 31 October 2007 05:52:18 pm Thibaud de Borggraef wrote:
> Trying to compile freeglut, I get this message:


> ../include/GL/freeglut_std.h:114:19: error: GL/gl.h: No such file or
> directory
> ../include/GL/freeglut_std.h:115:20: error: GL/glu.h: No such file or
> directory
> In file included from ../include/GL/freeglut.h:17,
>                  from freeglut_callbacks.c:28:


> freeglut_callbacks.c:357: error: 'SFG_State' has no member named
> 'Initialised'
> make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 1
> make[2]: Leaving directory `/usr/src/freeglut-2.4.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/freeglut-2.4.0'
> make: *** [all] Error 2
> Creating /var/log/lunar/compile/freeglut-2.4.0.bz2
> ! Problem detected during BUILD*
> Any idea?
> Thanks

If you will be using the NVIDIA or NVIDIA-beta drivers then for example;

lin -rc xorg-server

and say YES to this;

"Do you intend to use the NVIDIA binary driver?" n

then lin the NVIDIA driver you want and relin freeglut.

For all other video drivers provided by xorg and the fglrx driver say NO to;

"Do you intend to use the NVIDIA binary driver?" n

and then lin mesa-libs, then freeglut.

You can tuna piano but you can't tune a fish.
It's worth the spin.

More information about the Lunar mailing list