On 3/15/04 at 8:41 PM Jonathan Polley wrote:

>I just tried to build FlightGear under Cygwin.  When I build, I get the
>following:
>
>In file included from glut_shapes.c:59:
>/usr/include/w32api/GL/glu.h:230: error: syntax error before '*' token
>In file included from glut_shapes.c:61:
>glut_shapes.h:12:1: warning: "APIENTRY" redefined
>In file included from /usr/include/w32api/GL/glu.h:37,
>                 from glut_shapes.c:59:
>/usr/include/w32api/GL/gl.h:80:1: warning: this is the location of the
>previous
>definition
>make[5]: *** [glut_shapes.o] Error 1
>make[5]: Leaving directory
>`/home/jwpolley/fgdev/SimGear/simgear/scene/sky/cloud
>s3d'
>make[4]: *** [all-recursive] Error 1
>make[4]: Leaving directory
`/home/jwpolley/fgdev/SimGear/simgear/scene/sky'
>make[3]: *** [all-recursive] Error 1
>make[3]: Leaving directory `/home/jwpolley/fgdev/SimGear/simgear/scene'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory `/home/jwpolley/fgdev/SimGear/simgear'
>make[1]: *** [all] Error 2
>make[1]: Leaving directory `/home/jwpolley/fgdev/SimGear/simgear'
>make: *** [all-recursive] Error 1
>
>This is true even after I do a make clean.
>

I just comment the offending line in glut.h out, and it compiles fine then.
 I'm sure that's not the, erm, 'proper' solution though!

Cheers - Dave


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to