Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

timmie

OpenGL OpenGL + linux

This topic is 5772 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

Can someone point me in the direction of some good documentation on getting OpenGL up and running in Linux? I want to port my application from Windows to Linux but aren''t sure where to start.

Share this post


Link to post
Share on other sites
Advertisement
There are a lot of APIs you can use for the base of the low-level setup (Windows, Input, etc.). SDL is a good choice. libsdl.org has some documents on how to setup OpenGL with it.

Share this post


Link to post
Share on other sites
You''ll probably need libs+headers - search google for ''Mesa,'' which is an implementation of the OpenGL library under Linux.

Share this post


Link to post
Share on other sites
Ah, yeah, forgot to mention that. Most cards work nicely with MESA, but nVidia users have a little work. You must first obtain the drivers from nVidia''s page, build and install them (make && su -c ''make install''). Now, you''ll need to read the readme for information on how to copy nVidia''s GL headers. You''ll also need to obtain glext.h from SGI''s page. Should do it if everything goes already. You may have trouble with GLUT on Debian because it depends on a package, and if you want this to work correctly, you''ll need to build .deb files. Ask for help in #debian on irc.debian.org.

Share this post


Link to post
Share on other sites
quote:
Original post by aggregate
You may have trouble with GLUT on Debian because it depends on a package, and if you want this to work correctly, you''ll need to build .deb files. Ask for help in #debian on irc.debian.org.

About the NVidia drivers in Debian: Just apt-get nvidia-kernel-src and nvidia-glx-src and read the instructions in /usr/share/doc/nvidia-kernel-src/README.Debian.gz and /usr/share/doc/nvidia-glx-src/README.Debian on how to package and setup the drivers.

Share this post


Link to post
Share on other sites
NVIDIA users do not need Mesa. Nvidia drivers come with an OpenGL implementation that is much better then Mesa. Just follow instructions at NVIDIA site. In fact do not install mesa or it will mess up with NVIDIA drivers.

If brute force does not solve your problem....you''re not using enough!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!