[Piglit] fatal error: GL/glxproto.h: No such file or directory
Vinson Lee
vlee at vmware.com
Thu Oct 27 13:57:28 PDT 2011
> -----Original Message-----
> From: piglit-bounces+vlee=vmware.com at lists.freedesktop.org [mailto:piglit-
> bounces+vlee=vmware.com at lists.freedesktop.org] On Behalf Of GOUJON
> Alexandre
> Sent: Monday, October 24, 2011 8:11 AM
> To: piglit at lists.freedesktop.org
> Subject: [Piglit] fatal error: GL/glxproto.h: No such file or directory
>
> 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.
>
Thanks for reporting this, but I think the README covers this already. Which Linux distribution are you using?
In Section 2.2 of README, which covers Ubuntu, it mentions x11proto-gl-dev.
> 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..) !
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
More information about the Piglit
mailing list