How to get the file: GL/gl.h
the error is shown as:
~/Desktop/Qt/4.8.1/gcc/include/QtOpenGL/qgl.h:88: error:GL/gl.h: No such file or directory
How to fix it?
Thank a lot!
Install the development packages of OpenGL for your distribution. This will usually install the needed headers into /usr/include/GL but it may very between distros.
I Installed the development packages of OpenGL，and the problem was solved, but another error occurs:
'gluPerspective' was not declared in this scope
what's the matter?
Thanks a lot!
Thanks very much .
error from : make&install libmeegotouch
process : sudo aptitude/ apt-get install freeglut3/libgl1-mesa-dev
solutions :install the Synaptic Package Manager
then install the libgl1-mesa-dev and related dependencies
You probably need additional utility packages for OpenGL such as GLU, GLUT, GLEW.