Checkout, installation of dependencies and configuration went fine, but compiling failed (after 38 minutes ) with the following error:
Code: Select all
In file included from src/gldrv/gl_init.cpp:70:
/usr/include/GL/glx.h:27:26: error: GL/glxtokens.h: No such file or directory
src/gldrv/gl_init.cpp: In function ‘void GFXInit(int, char**)’:
src/gldrv/gl_init.cpp:460: warning: deprecated conversion from string constant to ‘char*’
src/gldrv/gl_init.cpp:460: warning: deprecated conversion from string constant to ‘char*’
make[1]: *** [src/gldrv/gl_init.o] Error 1
make[1]: Leaving directory `/usr/local/games/VegaStrike/vegastrike'
make: *** [all] Error 2
I used to compile FlightGear from source, so I'm not entirely surprised by a GL snafu, but the dependencies are apparently in place:
Code: Select all
libgl1-mesa-dev is already the newest version.
libgl1-mesa-dev set to manually installed.
...
Selecting previously deselected package glutg3-dev.
Unpacking glutg3-dev (from .../glutg3-dev_3.7-25_all.deb) ...
...
Setting up glutg3-dev (3.7-25) ...
Code: Select all
checking for GL library... yes
checking for glXGetProcAddressARB... yes
checking for GLU library... yes
checking for GL/gl.h... yes
checking for XmuGetHostname in -lXmu... no
checking for XListInputDevices in -lXi... yes
checking for glut32 library... -lutil -L/usr/lib -lSDL -lGL -lGLU -lXi -lglut32
no
checking for glut library... -lutil -L/usr/lib -lSDL -lGL -lGLU -lXi -lglut
yes
checking GL/glut.h usability... yes
checking GL/glut.h presence... yes
checking for GL/glut.h... yes
I'll see if I can update the GL headers somehow; this might be useful for anyone else with a similar problem.
Jonathan