When opening an example about OpenGL in Qt Creator, compiling it and running it, you may encounter several errors regarding missing files, such as gl.h and glu.h. They are OpenGL headers. To install the corresponding libraries and headers in Ubuntu 10.04, type the following commands:
- sudo apt-get install libgl1-mesa-dev
- sudo apt-get install libglu1-mesa-dev
The information about Mesa can be found here:
Although the above two commands only request for two libraries, the whole mesa system will be installed as well.
Mesa3D is one of the implementation of OpenGL API. For others, see
No comments:
Post a Comment