Thursday, December 30, 2010

[QnA] GL/gl.h and GL/glu.h in Ubuntu 10.04

I have installed PyODE and tried some examples once when my system was Ubuntu 8.04. Today I think about the PyODE examples and want to study them again. Because my system is Ubuntu 10.04 now, I have to rebuild some necessary environment.

The most tedious step is to install the cgkit. It has to be installed from the source. During the installation, some more packages or libraries are necessary. Two of them are GL/gl.h and GL/glu.h. Out of my expectation, they have to be installed from different packages.

To have GL/gl.h:

$ sudo apt-get install mesa-common-dev 

To have GL/glu.h:

$ sudo apt-get install libglu1-mesa-dev

No comments:

Post a Comment