How do I set up an OpenGL programming environment?












11















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




















  • 2





    What language would you prefer?

    – eXlin
    Nov 4 '10 at 17:31











  • Please click edit and then update your question to specify the programming language you wish to use. OpenGL en.wikipedia.org/wiki/OpenGL is not a language, and you need to specify one.

    – K7AAY
    Jan 30 at 19:08
















11















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




















  • 2





    What language would you prefer?

    – eXlin
    Nov 4 '10 at 17:31











  • Please click edit and then update your question to specify the programming language you wish to use. OpenGL en.wikipedia.org/wiki/OpenGL is not a language, and you need to specify one.

    – K7AAY
    Jan 30 at 19:08














11












11








11


6






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
















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.







programming graphics opengl






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 18 '11 at 18:13









Jorge Castro

36.9k106422617




36.9k106422617










asked Nov 4 '10 at 17:03









nixnotwinnixnotwin

2,500124969




2,500124969








  • 2





    What language would you prefer?

    – eXlin
    Nov 4 '10 at 17:31











  • Please click edit and then update your question to specify the programming language you wish to use. OpenGL en.wikipedia.org/wiki/OpenGL is not a language, and you need to specify one.

    – K7AAY
    Jan 30 at 19:08














  • 2





    What language would you prefer?

    – eXlin
    Nov 4 '10 at 17:31











  • Please click edit and then update your question to specify the programming language you wish to use. OpenGL en.wikipedia.org/wiki/OpenGL is not a language, and you need to specify one.

    – K7AAY
    Jan 30 at 19:08








2




2





What language would you prefer?

– eXlin
Nov 4 '10 at 17:31





What language would you prefer?

– eXlin
Nov 4 '10 at 17:31













Please click edit and then update your question to specify the programming language you wish to use. OpenGL en.wikipedia.org/wiki/OpenGL is not a language, and you need to specify one.

– K7AAY
Jan 30 at 19:08





Please click edit and then update your question to specify the programming language you wish to use. OpenGL en.wikipedia.org/wiki/OpenGL is not a language, and you need to specify one.

– K7AAY
Jan 30 at 19:08










2 Answers
2






active

oldest

votes


















8














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






share|improve this answer





















  • 3





    Ironically, the question you linked to was closed as off-topic. ;)

    – Thane Brimhall
    Oct 13 '14 at 21:45





















13














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|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








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f11378%2fhow-do-i-set-up-an-opengl-programming-environment%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









8














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






share|improve this answer





















  • 3





    Ironically, the question you linked to was closed as off-topic. ;)

    – Thane Brimhall
    Oct 13 '14 at 21:45


















8














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






share|improve this answer





















  • 3





    Ironically, the question you linked to was closed as off-topic. ;)

    – Thane Brimhall
    Oct 13 '14 at 21:45
















8












8








8







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






share|improve this answer















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







share|improve this answer














share|improve this answer



share|improve this answer








edited May 23 '17 at 12:39









Community

1




1










answered Nov 4 '10 at 17:30









João PintoJoão Pinto

14.8k34660




14.8k34660








  • 3





    Ironically, the question you linked to was closed as off-topic. ;)

    – Thane Brimhall
    Oct 13 '14 at 21:45
















  • 3





    Ironically, the question you linked to was closed as off-topic. ;)

    – Thane Brimhall
    Oct 13 '14 at 21:45










3




3





Ironically, the question you linked to was closed as off-topic. ;)

– Thane Brimhall
Oct 13 '14 at 21:45







Ironically, the question you linked to was closed as off-topic. ;)

– Thane Brimhall
Oct 13 '14 at 21:45















13














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|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
















13














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|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














13












13








13







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|improve this answer















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|improve this answer














share|improve this answer



share|improve this answer








edited Feb 17 '17 at 22:49









Zanna

51k13137241




51k13137241










answered Nov 4 '10 at 17:42









BehzadshBehzadsh

1,868102945




1,868102945








  • 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














  • 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








2




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





+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


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f11378%2fhow-do-i-set-up-an-opengl-programming-environment%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Questions related to Moebius Transform of Characteristic Function of the Primes

List of scandals in India

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?