Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
1  
What language would you prefer? –  eXlin Nov 4 '10 at 17:31

2 Answers 2

up vote 8 down vote accepted

StackOverflow is a better place for programming related questions, check http://stackoverflow.com/questions/859501/learning-opengl-in-ubuntu

share|improve this answer
    
Ironically, the question you linked to was closed as off-topic. ;) –  Thane Brimhall Oct 13 at 21:45

As far as I know OpenGL is a graphic library, you only need an IDE depends on the language you want use OpenGL in it.

Anjuta Install anjuta is a perfect IDE for C and C++

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

share|improve this answer
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 '10 at 20:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.