I had somewhat similar messages when i did it in ubuntu - but then i uninstalled qt4-dev and installed qt4-opengl-dev and all errors went away. For windows Qt4 with opengl is not free

It looks like part of it is failing on the definition of GLEnum maybe i will try include the definition before gl files....
Code: Select all
In file included from c:\\Qt\\4.4.0\\include\\QtOpenGL/../../src/opengl/qgl.h:73,
from c:\\Qt\\4.4.0\\include\\QtOpenGL/qgl.h:1,
from qwt3d_openglhelper.h:8,
from qwt3d_types.h:26,
from qwt3d_drawable.h:7,
from qwt3d_label.h:10,
from qwt3d_axis.h:5,
from qwt3d_coordsys.h:4,
from qwt3d_plot.h:4,
from qwt3d_surfaceplot.h:4,
from qt4application.h:41,
from qt4application.cpp:22:
GL/gl.h:1135: syntax error before `void'
GL/gl.h:1136: syntax error before `void'
GL/gl.h:1137: syntax error before `APIENTRY'
GL/gl.h:1138: syntax error before `void'
snip
GL/gl.h:1231: syntax error before `void'
GL/gl.h:1232: syntax error before `APIENTRY'
GL/gl.h:1233: syntax error before `void'
GL/gl.h:1234: syntax error before `void'
GL/gl.h:1235: syntax error before `void'
GL/gl.h:1236: syntax error before `void'
GL/gl.h:1237: syntax error before `APIENTRY'
GL/gl.h:1238: syntax error before `void'
snipGL/gl.h:1251: syntax error before `void'
GL/gl.h:1252: syntax error before `const'
GL/gl.h:1253: syntax error before `void'
GL/gl.h:1254: syntax error before `void'
GL/gl.h:1276: syntax error before `void'
GL/gl.h:1277: syntax error before `void'
GL/gl.h:1278: syntax error before `APIENTRY'
GL/gl.h:1279: syntax error before `APIENTRY'
GL/gl.h:1280: syntax error before `APIENTRY'
GL/gl.h:1281: syntax error before `void'
GL/gl.h:1282: syntax error before `void'
GL/gl.h:1379: syntax error before `void'
GL/gl.h:1380: syntax error before `void'
GL/gl.h:1381: syntax error before `APIENTRY'
GL/gl.h:1382: syntax error before `void'
GL/gl.h:1383: syntax error before `void'
GL/gl.h:1468: syntax error before `void'
GL/gl.h:1469: syntax error before `void'
GL/gl.h:1470: syntax error before `void'
GL/gl.h:1473: parse error before `*'
GL/gl.h:1474: parse error before `*'
GL/gl.h:1494: parse error before `*'
GL/gl.h:1496: parse error before `*'
GL/gl.h:1498: parse error before `*'
In file included from c:\\Qt\\4.4.0\\include\\QtOpenGL/../../src/opengl/qgl.h:75,
from c:\\Qt\\4.4.0\\include\\QtOpenGL/qgl.h:1,
from qwt3d_openglhelper.h:8,
from qwt3d_types.h:26,
from qwt3d_drawable.h:7,
from qwt3d_label.h:10,
from qwt3d_axis.h:5,
from qwt3d_coordsys.h:4,
from qwt3d_plot.h:4,
from qwt3d_surfaceplot.h:4,
from qt4application.h:41,
from qt4application.cpp:22:
GL/glu.h:61: syntax error before `('
GL/glu.h:64: syntax error before `('
GL/glu.h:67: syntax error before `('
h:374: parse error before `*'
GL/glu.h:375: parse error before `*'
GL/glu.h:376: parse error before `*'
GL/glu.h:377: parse error before `*'
GL/glu.h:384: parse error before `*'
GL/glu.h:558: syntax error before `('
GL/glu.h:560: syntax error before `('
GL/glu.h:563: syntax error before `('