When building freeglut-3.0.0 according to the
blfs-8.4 book, the build stops with the following
error:

/sources/freeglut-3.0.0/include/GL/freeglut_std.h:144:13: fatal error: GL/glu.h: No such file or directory

The problem is apparently that the file glu.h
cannot be found.
I looked in the freeglut-3.0.0/include/GL directory
and found that there is a file named glut.h. So I
tried the following fix:

cp /sources/freeglut-3.0.0/include/GL/glut.h /sources/freeglut-3.0.0/include/GL/glu.h

After making a glu.h file with the same contents as
glut.h, the build finished without any error messages.

I had a related problem when I tried to build mupdf-1.14.0,
the build stopped with:

/usr/include/GL/freeglut_std.h:144:13: fatal error: GL/glu.h: No such file or directory

Again, I found a file named glut.h in /usr/include/GL, so I
tried the fix:

cp /usr/include/GL/glut.h  /usr/include/GL/glu.h

After doing this, the mupdf-1.14.0 build completed without
any error messages.
Has anyone encountered this problem? Also, I am wondering
if generating a glu.h file this way is really a valid fix, even
though it allows the builds to proceed.
Do the build instructions for freeglut-3.0.0 and mupdf-1.14.0
need to be modified?

Richard
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to