Syntax error in glu.h while compiling an OpenGL project

Markus Gustavsson mighty at fragzone.se
Thu Mar 9 22:41:18 UTC 2000


I've had this error a couple of times with some MesaGL versions,
I don't know what's causing it, but I don't think KDevelop has
anything to do with it. My Guess it that you're using Mesa 3.1?
Try with Mesa 3.0, that did the job for me, when I had this error.

Peter & Tamara wrote:
> 
> Hello,
> 
> You are right.
> 
> I get the following error:
> 
> in file included from /usr/lib/qt/include/qgl.h:49,
>                     from testview.h:27
>                     from testview.cpp:22
> /usr/include/GL/glu.h:215: syntax error before '('
> /usr/include/GL/glu.h:221: syntax error before '('
> /usr/include/GL/glu.h:225: syntax error before '('
> .
> .
> .
> /usr/include/GL/glu.h:404: syntax error before '('
> 
> > On Wed, 8 Mar 2000, Peter & Tamara wrote:
> >
> > > Hello,
> > >
> > > When I try to compile an OpenGL project I get a syntax error in 'glu.h'. Anyone
> > > had this problem ? How did you solve it ?
> >
> > You should perhaps send the exact error message to this list, shouldn´t
> > you ?
> >
> > >
> > > Peter
> > >
> > >
> > >
> > >




More information about the KDevelop mailing list