OpenGL and Linux, compile is ok but executions failes

Started by
4 comments, last by Deliverance 17 years, 5 months ago
I'm trying to setup OpenGL on linux ubuntu. I'm using freeGLUT and g++. The compilation works fine but when I run the program I get the following error: freeglut (./main): OpenGL GLX extension not supported by display ':0.0' I have a nvidia card GF2MX (with the lates drivers - nvidia legacy) What could be wrong?
Advertisement
That's a pretty old card. Are you sure that card supports whatever OpenGL extension function you are trying to use?

-me
I'm trying to compile the typical "hello world" OpenGL program. I'm not using any special extensions.
Do you have drivers installed for the card?
What is the output of "glxinfo"?
--
Quote:Original post by Deliverance
I'm trying to compile the typical "hello world" OpenGL program. I'm not using any special extensions.


Post the code.

-me
Solved it. It was a driver problem, I uninstalled the drivers and managed to run in software rendering. It seems that the nvidia drivers conflict with the freeglut libraries, for more information and solutions here's a the link that helped http://www.linuxquestions.org/questions/showthread.php?s=&forumid=2&threadid=321212

This topic is closed to new replies.

Advertisement