Jump to content
  • Advertisement
Sign in to follow this  
Deliverance

OpenGL OpenGL and Linux, compile is ok but executions failes

This topic is 4414 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
That's a pretty old card. Are you sure that card supports whatever OpenGL extension function you are trying to use?

-me

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!