Building 2.7.7 fails on kubuntu_12_04

xxcger wrote on Tuesday, February 26, 2013:

Hello,

I got an error after run “make x11” :

Checking what kind of system this is… Linux
Checking for X11 libraries location… unknown (assuming linker will find them)
Checking whether we are using GNU C… yes
Checking for X11 RandR support… yes
Checking for pthread support… yes
Checking for sched_yield… yes
Checking for clock_gettime… yes
Checking for glXGetProcAddress variants… glXGetProcAddress
Checking for sysconf… yes
Checking for sysctl support… no
Creating ./lib/x11/Makefile.x11
Creating ./examples/Makefile.x11
Creating ./tests/Makefile.x11
Creating ./lib/x11/libglfw.pc.in
cd lib/x11 && make -f Makefile.x11
make[1]: Entering directory /local1/opengl/glfw-2.7.7/lib/x11' cc -c -I. -I.. -D_GLFW_USE_LINUX_JOYSTICKS -D_GLFW_HAS_XRANDR -D_GLFW_HAS_PTHREAD -D_GLFW_HAS_SCHED_YIELD -D_GLFW_HAS_GLXGETPROCADDRESS -D_GLFW_HAS_SYSCONF -pthread -O2 -Wall -o enable.o ../enable.c In file included from ../internal.h:92:0, from ../enable.c:31: ./platform.h:300:5: error: unknown type name ‘PFNGLXSWAPINTERVALMESAPROC’ make[1]: *** [enable.o] Error 1 make[1]: Leaving directory/local1/opengl/glfw-2.7.7/lib/x11’
make: *** [x11] Error 2

Is it because x11 libraries location is not found? where can I configure them?

Thanks a lot!

elmindreda wrote on Tuesday, March 19, 2013:

That seems to be a bug in 2.7.7. It has been fixed in what will become 2.7.8. You can get it right away from the Subversion repository trunk.