Archived

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

annie

set up of openGL in Linux

Recommended Posts

Guest Anonymous Poster
Install your right Graphics card driver to get include files for opengl. After that download sdl per example to get a library that can create a Window for you with opengl support. More to that and download on: www.libsdl.org

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
if you have an NVIDIA card make sure you have installed their drivers, to enable hardware acceleration.

I reckon it''s about the same procedure with ATI since they support Linux too.

Thereafter there''s nothing to do : the header files and libraries are in your /usr/include and /usr/lib directories. At least that was the case with my Gentoo distro

Oh yes, and to link the libraries, use these flags : -lGL -lGLU

If you use the Kdevelop IDE, you must go to the "project" menu, then into "project options", then select the "configure options" and add the "-lGL -lGLU" in the "linker flags" box.

Good luck !

Share this post


Link to post
Share on other sites