[Qt-interest] GLEW library

ami guru dosto.walla at gmail.com
Sun Feb 22 18:53:38 CET 2009


Hello i am trying compile opengl program with  the shader support and i am
using the opengl wrangler library for that.


I have subclassed the glwidget and included the glew header file before the
inclusion of QGLWidget


But i am getting the following error


**************************************
In file included from GLWidget.h:8,
                 from GLWidget.cpp:6:
/usr/include/GL/glew.h:84:2: error: #error gl.h included before glew.h
/usr/include/GL/glew.h:87:2: error: #error glext.h included before glew.h

************************************'



I have changed the order later .


Unfortunately the same error


Any Idea?


Regards
Sajjad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090222/335fb61f/attachment.html 


More information about the Qt-interest-old mailing list