[Flightgear-devel] CVS compiling error CYGWIN

2005-12-15 Thread Georg Vollnhals
Hi, after many!!! new builds without any problem I have got a new one over the last days when trying to compile the newest CVS under Cygwin. At last I even made a complete new Cygwin install and complete new download of SimGear and FlightGear CVS and tried to compile the whole stuff - same

Re: [Flightgear-devel] CVS compiling error CYGWIN

2005-12-15 Thread David Luff
Have you tried adding -DNOMINMAX to your CFLAGS and CXXFLAGS? Alternatively try adding #ifdef HAVE_CONFIG_H # include config.h #endif as the first include of each cxx or cpp file giving problems. I'm not using Cygwin any more BTW, so I'm posting blind, but I'm pretty sure it will turn out to

Re: [Flightgear-devel] CVS compiling error CYGWIN

2005-12-15 Thread Georg Vollnhals
Hi David, your help did not only save the day but the rest of the week, thank you very much :-) I could compile the CVS and FG is running! Have you tried adding -DNOMINMAX to your CFLAGS and CXXFLAGS? Mmh, this was behind my scope. If you ever have some time then tell me please where I

Re: [Flightgear-devel] CVS compiling error

2005-10-20 Thread Erik Hofman
David Luff wrote: Cygwin doesn't have HUGE, so change HUGE to HUGE_VAL and -HUGE to -HUGE_VAL and I suspect this should compile. Ok, I've committed a fix. I guess that we could do something in compiler.h along the lines of #ifdef __CYGWIN__ #define HUGE HUGE_VAL #define -HUGE -HUGE_VAL

Re: [Flightgear-devel] CVS compiling error

2005-10-20 Thread Erik Hofman
David Luff wrote: Fair point. Do you know if HUGE is part of a standard anywhere that definately should be supplied by Cygwin, or is it simply available from everyone else by unwritten convention? According to the IRIX header file it would be an ANSI definition. Erik

RE: [Flightgear-devel] CVS compiling error

2005-10-20 Thread Norman Vine
Erik Hofman David Luff wrote: Fair point. Do you know if HUGE is part of a standard anywhere that definately should be supplied by Cygwin, or is it simply available from everyone else by unwritten convention? According to the IRIX header file it would be an ANSI definition. IRIX

Re: [Flightgear-devel] CVS compiling error

2005-10-20 Thread Frank Olaf
The same problem is present using MSYS/Mingw with 5min old cvs.. Georg Vollnhals wrote: David Luff schrieb: Cygwin doesn't have HUGE, so change HUGE to HUGE_VAL and -HUGE to -HUGE_VAL and I suspect this should compile. Changing HUGE to HUGE_VAL in simple.cxx solved the problem!

[Flightgear-devel] CVS compiling error

2005-10-19 Thread Georg Vollnhals
Hi Erik/Durk? Since your update of simple.cxx/hxx on the 18.10.05 the newest CVS version does not compile anymore :-( Error: simple.cxx: In member function `int FGGroundNetwork::findNearestNode(double, double)': simple.cxx:1331: error: `HUGE' undeclared (first use this function)

Re: [Flightgear-devel] CVS compiling error

2005-10-19 Thread David Luff
On 19/10/2005 at 12:05 Georg Vollnhals wrote: Hi Erik/Durk? Since your update of simple.cxx/hxx on the 18.10.05 the newest CVS version does not compile anymore :-( Error: simple.cxx: In member function `int FGGroundNetwork::findNearestNode(double, double)': simple.cxx:1331: error: `HUGE'

Re: [Flightgear-devel] CVS compiling error

2005-10-19 Thread Georg Vollnhals
Thank you David, now off to work, I'll try it this evening! Regards Georg David Luff schrieb: BTW, Georg, CVS SimGear should compile on Cygwin 3.4.4 now, and CVS FlightGear will probably compile on it if you add .. Then send the output of cvs diff -u from the FlightGear directory to Erik,

Re: [Flightgear-devel] CVS compiling error

2005-10-19 Thread Georg Vollnhals
David Luff schrieb: Cygwin doesn't have HUGE, so change HUGE to HUGE_VAL and -HUGE to -HUGE_VAL and I suspect this should compile. Changing HUGE to HUGE_VAL in simple.cxx solved the problem! Thank you, thank you :-) Have just made a testflight with the new FG version! I guess that