Freeglut requires GL/gl*.h

Chris Staub chris at beaker67.com
Mon Dec 15 13:47:31 PST 2008


Matthew Burgess wrote:
> Hi all.
> 
> Now, FreeGlut states that it is dependent on the entire 'X Window System', but
> that won't be completed for some 7 packages (plus deps), which includes the apps,
> fonts, and drivers, all fairly substantially sized.
> 
> Ignoring that advice completely (hey, it's my distro, I get to keep all the
> broken pieces!), I decided to compile it immediately after xbitmaps-1.0.1. This
> results in:
> 
> error: GL/gl.h: No such file or directory
> error: GL/glu.h: No such file or directory
> error: GL/glx.h: No such file or directory
> 

All those are provided by Mesa. You probably need to use the basic, core 
Mesa package (MesaLib) which is where all those headers are located, 
then use FreeGLUT instead of MesaGLUT.



More information about the blfs-dev mailing list