--- Norman Vine <[EMAIL PROTECTED]> wrote:
> William Earnest writes:
> 
> > Norman Vine wrote:
> > 
> > > ace project writes:
> > >
> > > >I'm getting a compile error while compiling the
> latest
> > > >SimGear(CVS) under cygwin(current version/fresh
> > > >install).
> 
> > > >> > >extgl.h:363: `glBlendColor' redeclared as
> different
> > > >kind of symbol /usr/X11R6/include/GL/gl.h:1648:
> > >
> > >
> > > Looks like you have 'X-Windows' installed
> > >
> YIKES -- The *right* way todo this is to just change
> the configure.ac
> files to NOT check for 'X' and NOT include the
> X_Header path when
> WIN32 is defined.
> 
> Obviously this change needs tobe done by someone who
> has the 
> Cygwin X-Server installed
> 
> There is support in the script already to determine
> if this
> is a Windows installation.  
> 
> My WAG is that perhaps changing
> 
> if test "x$HOSTTYPE" != "xmacintosh" -a "x$is_mingw"
> != "xyes"; then
>     dnl extra library and include directories
>     EXTRA_DIRS="/usr/X11R6"
> 
>     if test -d /opt/X11R6 ; then
>         EXTRA_DIRS="$EXTRA_DIRS /opt/X11R6"
>     fi
> fi
> 
> TO
> 
> if test "x$HOSTTYPE" != "xmacintosh" -a "x$is_mingw"
> != "xyes" -a :x$is_cywin"!="xyes"; then
>     dnl extra library and include directories
>     EXTRA_DIRS="/usr/X11R6"
> 
>     if test -d /opt/X11R6 ; then
>         EXTRA_DIRS="$EXTRA_DIRS /opt/X11R6"
>     fi
> fi
> 
> Might just work,  but I am not an autoconf guru nor
> do I have X installed
> so I can not test this
> 
> FWIW - I am not sure about the multiple '-a' arg to
> if 'if test'
> 
> Norman

I tryed disabling X (--without-x), that failed. I
removed Cygwin X-windows, that was succesful.

I will try changing the configure.ac file somewhere
next week and post the results (unless William(?) gets
there first...)

Leon

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

Reply via email to