PDA

View Full Version : /QtOpenGL/qgl.h:77: error: GL/gl.h: No such file or directory



tsuibin
20th October 2010, 03:58
qt : qtsdk-2010.05
system: ubuntu 10.10
program: Examples-> OpenGL ->framebufferobject
desktop/../../../include/QtOpenGL/qgl.h:77: error: GL/gl.h: No such file or directory


73 #ifndef GLdouble
74 typedef GLfloat GLdouble;
75 #endif
76 #else
77 # include <GL/gl.h>
78 # ifndef QT_LINUXBASE
79 # include <GL/glu.h>
80 # endif
81 #endif

tbscope
21st October 2010, 06:27
Install opengl

ajaykumar
12th March 2015, 13:37
i have install qt-5.0.4 on rhel linux 7 64 bit . when do i run the gui based program error: GL/gl.h: No such file or directory so please suggest me this is Qt problem or Linux

ChrisW67
12th March 2015, 21:06
In spite of the intervening four years the answer has not changed.
Install a video driver that provides OpenGl or install Mesa.