How do I set up an OpenGL programming environment?

29,675

Solution 1

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

Solution 2

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

Share:
29,675

Related videos on Youtube

nixnotwin
Author by

nixnotwin

Updated on September 17, 2022

Comments

  • nixnotwin
    nixnotwin almost 2 years

    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.

  • Oli
    Oli over 13 years
    +1. GLUT is what we learned on for graphics at uni. Fairly standard C bindings and there's lots of documentation.