Make error GL/glx.h not found (linux mint 14)

Using GLFW
Suds
2013-03-25
2013-03-25
  • Suds
    Suds
    2013-03-25

    When trying to compile for X11 with:

    make x11

    the following output is presented:

    cd lib/x11 && make -f Makefile.x11
    make[1]: Entering directory /home/suds/Downloads/glfw-2.7.7/lib/x11' cc -c -I. -I.. -D_GLFW_USE_LINUX_JOYSTICKS -O2 -Wall -o enable.o ../enable.c In file included from ../internal.h:92:0, from ../enable.c:31: ./platform.h:47:20: fatal error: GL/glx.h: No such file or directory compilation terminated. make[1]: *** [enable.o] Error 1 make[1]: Leaving directory/home/suds/Downloads/glfw-2.7.7/lib/x11'

    This is on Linux Mint 14 (based on Ubuntu 12.10). Any advice would be appreciated.

     
  • Suds
    Suds
    2013-03-25

    After finally choosing the correct set of keywords to google, this has been resolved. I was missing the glx and glu dev packages for my hardware.

    I used the Mesa libs, but I know that mesa is a software implementation of OpenGL. How widely supported are third party drivers nowadays on linux? I remember ten years ago it was hell.