I've previously been able to complete the whole compile process with 2.0.8 (several times), but now I'm also receiving the same gl.h errors as with 2.0.10. Recent system changes include an upgrade from Mandriva 2006.0 to 2007.1, and this involved re-installing drivers for my geforce 3. I installed the newer 96.43.01 instead of the 8178 that I had always used before.
The gl.h file shows up in several places on the system:
Code: Select all
/usr/share/doc/NVIDIA_GLX-1.0/include/GL/gl.h
/usr/src/Mesa/include/GL/gl.h
/usr/X11R6/include/GL/gl.h
/usr/include/GL/gl.h
Code: Select all
[tom@scrape bzflag-2.0.10]$ rpm -qa |grep [Mm]esa
libmesaglu1-devel-6.5.2-7mdv2007.1
libmesagl1-devel-6.5.2-7mdv2007.1
libmesaglw1-6.5.2-7mdv2007.1
libmesaglu1-6.5.2-7mdv2007.1
mesa-common-devel-6.5.2-7mdv2007.1
mesa-6.5.2-7mdv2007.1
libmesaglut3-6.5.2-7mdv2007.1
libmesaglut3-devel-6.5.2-7mdv2007.1
mesa-source-6.5.2-7mdv2007.1
libmesagl1-6.5.2-7mdv2007.1
libmesaglw1-devel-6.5.2-7mdv2007.1
Code: Select all
configure:24920: g++ -o conftest -g -O2 conftest.cpp -framework OpenGL -lXi -lXxf86vm -lXext -lSM -lICE -lX11 -lm >&5
g++: OpenGL: No such file or directory
cc1plus: error: unrecognized command line option "-framework"
configure:24926: $? = 1
configure: failed program was:
| /* confdefs.h. */
...
| /* end confdefs.h. */
| #include <OpenGL>
.
.
.
configure:24965: g++ -o conftest -g -O2 conftest.cpp -lopengl32 -lXi -lXxf86vm -lXext -lSM -lICE -lX11 -lm >&5
/usr/bin/ld: cannot find -lopengl32
collect2: ld returned 1 exit status
...
| /* end confdefs.h. */
| #include <GL>
Any help is appreciated. It should be noted that I'm trying to compile 2.0.10 (or re-compile 2.0.8 ) in hopes that I can kill off the persistent segfaults that are hampering my game play with my current 2.0.8 binary.