Game Cookies

October 31, 2007

OpenGL and Ubuntu 7.10

Filed under: Uncategorized — Tags: , , , , , , , , — nippysaurus @ 12:12 pm

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.

6 Comments »

  1. Error installing Kubuntu-docs

    Comment by Mario — March 25, 2008 @ 6:58 am

  2. Desecrator says : I absolutely agree with this !

    Comment by desecrator — June 3, 2008 @ 12:19 pm

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

  4. coool:)

    Comment by www.WebNike.com — November 28, 2008 @ 1:54 am

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

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


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.