So, you have installed ubuntu and would like to compile some OpenGL code? Where do I start … You will need to install two things,the g++ compiler, and (if you need them) the GLUT library.
The compiler is easy, just type the following command into a terminal.
sudo apt-get install g++
Follow the prompts, this should install the compiler. Next, you might need the GLUT library, which can be installed (headers and development libraries) with the following command.
sudo apt-get install libglut3-dev
All set 🙂 Compile OpenGL code without any hitches.
Error installing Kubuntu-docs
Comment by Mario — March 25, 2008 @ 6:58 am
Desecrator says : I absolutely agree with this !
Comment by desecrator — June 3, 2008 @ 12:19 pm
Why thank you. That is in fact the library I needed. Now my code compiles. What more could I ask for?
Comment by damakable — September 12, 2008 @ 1:52 am
coool:)
Comment by www.WebNike.com — November 28, 2008 @ 1:54 am
Thanks a lot.
I wanted to get the files glu.h, glut.h
sudo apt-get install libglut3-dev
this workd well.
– Ejaz
Comment by Ejaz — March 11, 2009 @ 2:30 am
i got the error Err http://archive.offensive-security.com pwnsauce/main x11proto-core-dev 7.0.12-1ubuntu0.1
Could not resolve ‘archive.offensive-security.com’
please anybody help
Comment by gaurav — January 10, 2010 @ 5:21 am