Yes, I ran into this problem as well. I work around it by temporarily renaming 
the /usr/X11R6 directory, i.e., 

cd /usr
mv X11R6/ X11R6.tmp
cd
cd src/SimGear
[build commands]
cd ../FlightGear/source
[build commands]
cd /usr
mv X11R6.tmp X11R6

I realize that this is a bit of kludge, but I works, and allows me to keep my 
cygwin X11 installed (which I'm using at work to interface to a linux box, 
and would like to keep current on my home windows machine as well). 

On Tuesday 16 March 2004 03:50, Curtis L. Olson wrote:
> Hopefully someone who knows the answer will jump in and correct me if I'm
> wrong, but this sounds like the errors people were getting when they
> installed the cygwin X11 packages.  These provide conflicting versions of
> the opengl headers which cause the build to fail.  I think the current
> solution is to uninstall the X11 packages (and possibly send a nice note
> off to the cygwin development team informing them that this needs to be
> addressed some day.)
>
> Regards,
>
> Curt.
>
> 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.
> >
> > Thanks,
> >
> > Jonathan Polley
> >
> >
> > Of COURSE they can do that.  They're engineers!
> >
> > _______________________________________________
> > Flightgear-devel mailing list
> > [EMAIL PROTECTED]
> > http://mail.flightgear.org/mailman/listinfo/flightgear-devel


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

Reply via email to