set up of openGL in Linux
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
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 !
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 !
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement