SDL OpenGL test program

Hi,

I’m using linux.

I compiled the SDL OpenGL test program and it says that my system
doesnt has OpenGL support.

But i have OpenGL.

I have a nvidia card configured with its driver and glxgears are
working perfectly on X.

What do i need more in order to use OpenGl in SDL?

Best regards,

Nuno

What do i need more in order to use OpenGl in SDL?

If the specific error message was "No OpenGL support on this system"
then you probably built SDL without OpenGL support. It doesn’t mean your
system is misconfigured for 3D acceleration, it probably means you’re
missing OpenGL headers or something. See if there’s a developer package
that needs to be installed.

This OpenGL test is done at build time; it already has decided whether
you have OpenGL available before you’ve run the test program.

–ryan.