🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Setting up OpenGL on Linux

Started by
4 comments, last by Kazade 16 years, 11 months ago
I have been trying to set up OpenGL on my linux-laptop, but I can't find a good tutorial for that. Anyone who knows a tutorial? I'm using Ubuntu Dapper on the laptop. Regards, Solander
Advertisement
You don't need to "setup OpenGL". You might want to install SDL or (Free)GLUT to simplify window creation and stuff. Look for "libsdl1.2-dev" in synaptic.
You might need to install drivers for your graphics card? Which one has your laptop?
--
My laptop has a ATI-graphiccard but i think i have already installed that.
I'll look for it when i get home from work.
In a Terminal, execute "glxinfo"
if you see "direct rendering: Yes" and "OpenGL vendor string: ATI Technologies Inc." it's set up correctly.
I got this error:

"Error: couldn't find RGB GLX visual"
That means that your graphics card isn't setup right. What distribution are you using?

If you are using Ubuntu/Kubuntu/Xubuntu take a look at Envy: http://www.albertomilone.com/nvidia_scripts1.html

If not, post back and I'll see if I can help you more.
Member of the NeHe team.

This topic is closed to new replies.

Advertisement