Patrick Staehlin writes:
>
> Here's what i've done:
> 
> 1. downloaded & installed cygwin

>    ./configure worked fine
> 
> make returned:
..
>                  from newbucket.cxx:31:
> /usr/include/c++/3.2/limits:942:22: macro "min" requires 2 arguments, but only 1 
>given
> In file included from /usr/include/c++/3.2/bits/locale_facets.tcc:43,

> Has anyone managed to compile 0.2.0 on cygwin/gcc3.2-2?

Arrgh ... I thought that 3.2-2 would just work :-(

Try adding this to $SIMGEAR / simgear / compiler.h

$ cvs diff compiler.h
Index: compiler.h
===================================================================
RCS file: /var/cvs/SimGear-0.3/SimGear/simgear/compiler.h,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 compiler.h
144a145,149
> # ifdef WIN32
>        // keep windows.h from #defining min() max() macros
> #      define NOMINMAX
> #endif
>


HTH

Norman


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

Reply via email to