First release

Marcos Chaparro's GPL C++/QT tuning application, now supports FreeEMS too!
shameem
LQFP112 - Up with the play
Posts: 135
Joined: Thu May 01, 2008 6:30 pm
Location: Ann Arbor, MI
Contact:

Re: First release

Post by shameem »

This is the error part of the messages - it doesnt matter if i include windows.h or not....
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 `('
Last edited by Fred on Wed Jul 02, 2008 5:48 am, edited 1 time in total.
Reason: snipped code box
User avatar
nitrousnrg
LQFP144 - On Top Of The Game
Posts: 468
Joined: Tue Jun 24, 2008 5:31 pm

Re: First release

Post by nitrousnrg »

shameem wrote: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.
Oh I assumed that with qt4-dev it works. I'm changing the README right now.
shameem wrote:For windows Qt4 with opengl is not free :(
OMG!
Well, i think this problem can be sorted someway.
Give this a try, if you want:
http://elf-stone.com/glee.php
or
http://glew.sourceforge.net/
Both are libraries extensions, to make opengl work.

I wasn't expecting anything like that, really. Sorry, but i don't have any windows machine here (at least an usable one).
BTW, openGL is only used in the VE table, so if you want to get rid of it... do it. Serial communications are far more important than openGL stuff.
I was going to upload the qextserialport library, but i'll see if i can do something for this issue.
Marcos
Marcos
Post Reply