I want to setup openGL programming environment on ubuntu. What packages or tools I should install and what is the best way of getting into openGL as a newbie.
2 Answers
As far as I know OpenGL is a graphics library. The IDE choice depends on the language you want use OpenGL in.
Anjuta is a perfect IDE for C and C++
sudo apt-get install anjuta
then you have to download OpenGL library:
sudo apt-get install freeglut3 freeglut3-dev libglew1.5 libglew1.5-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev
after that you should include libraries (in folder gl/*) into your code
-
2+1. GLUT is what we learned on for graphics at uni. Fairly standard C bindings and there's lots of documentation.– Oli ♦Nov 4, 2010 at 20:34
StackOverflow is a better place for programming related questions, check https://stackoverflow.com/questions/859501/learning-opengl-in-ubuntu
-
4Ironically, the question you linked to was closed as off-topic. ;) Oct 13, 2014 at 21:45