[Piglit] fatal error: GL/glxproto.h: No such file or directory

GOUJON Alexandre ale.goujon at gmail.com
Mon Oct 24 08:10:41 PDT 2011


Hi,

I just cloned piglit and tried building it by following instructions in 
the README that is to say :
- c to configure (there were no errors)
- g to generate the build system
- and then make

I got
[  0%] Building C object 
target_api/gl/tests/util/CMakeFiles/piglitglxutil.dir/piglit-glx-util.c.o
In file included from 
/home/alex/Projects/piglit/tests/util/piglit-glx-util.c:29:0:
/home/alex/Projects/piglit/tests/util/piglit-glx-util.h:32:25: fatal 
error: GL/glxproto.h: No such file or directory
compilation terminated.
make[2]: *** 
[target_api/gl/tests/util/CMakeFiles/piglitglxutil.dir/piglit-glx-util.c.o] 
Error 1
make[1]: *** [target_api/gl/tests/util/CMakeFiles/piglitglxutil.dir/all] 
Error 2
make: *** [all] Error 2

Doing
sudo apt-get install x11proto-gl-dev
solved it but I wanted to let you know the issue.

There are also lots of warnings but I know you guys are doing it on 
spare time so I don't care that much.

Have a nice day (morning or night, depends..) !


More information about the Piglit mailing list