Checking for opengl (glx) support... no

Hello,

I’m trying to compile SDL-1.2.8 on a fresh Slackware 10.1
installation (with the latest nvidia drivers and gcc 3.4.4).

Unfortunately ./configure tells me
checking for OpenGL (GLX) support… no

As far as I can see all libraries and header files
are there (libGL* in /usr/lib, glx.h/gl.h in /usr/include
or /usr/X11R6/include/GL/).
A test program which uses SDL and GL compiles
fine but complains about the X11 driver (w/o OpenGL).

What else could be wrong?

Thanks & Greetings
Leander

Check config.log. It shows what it was trying to compile and what the
actual compile error is.On Tue, Jun 14, 2005 at 08:01:45AM +0200, Leander Seige wrote:

Hello,

I’m trying to compile SDL-1.2.8 on a fresh Slackware 10.1
installation (with the latest nvidia drivers and gcc 3.4.4).

Unfortunately ./configure tells me
checking for OpenGL (GLX) support… no

As far as I can see all libraries and header files
are there (libGL* in /usr/lib, glx.h/gl.h in /usr/include
or /usr/X11R6/include/GL/).
A test program which uses SDL and GL compiles
fine but complains about the X11 driver (w/o OpenGL).


Petri Latvala
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050614/46fdad24/attachment.pgp

Check config.log. It shows what it was trying to compile and what the
actual compile error is.

Thanks! I found the error. Something was defined twice in the
GLX header files. I simply /* removed */ one of them and
everything went fine. Unfortunately I forgot the textfile with
the details at work, but I can post them tomorrow.

Regards,
Leander