Thursday, January 24, 2008

OpenGL support on Linux Ubuntu

Graphics on Linux is almost exclusively implemented using the X windows system so you need to install X development packag using this command

sudo apt-get install --reinstall xorg-dev

Also you need the Mesa libraries, which implements GL as a software rasterizer
So use these set of commands

For basic GL library
sudo apt-get install --reinstall mesa-common-dev

For Glu Library
sudo apt-get install --reinstall libglu1-mesa-dev

For Glut Library
sudo apt-get install --reinstall libglut3-dev

Finally you need to run any appliaction from NeHe site


No comments: