Well, there came another idea into my mind: During the installation of SimGear I was struggling with the problem of function isnan being undeclared in cloud.cxx and cloudfield.cxx and after some research in the mailing list´s archive, i found that this problem once had lead to an endless loop and therefore caused a hang starting FG on an macOS. ( http://mail.flightgear.org/pipermail/flightgear-devel/2005-February/035004.html)
 
so the problem seems to be that isnan is not declared. i m really out of ideas how to deal with that since i already tried a couple of things, namely these suggestions given over here: http://mail.flightgear.org/pipermail/flightgear-devel/2004-May/028391.html
 
NOTE: i m using cygwin, not msys, on a pentium 4 using windowsXP. here´s what i get when i try to compile:


make[4]: Entering directory `/home/biwert/SimGear-CVS/simgear/scene/sky'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../simgear -I../../..  -I/fg-0.9.10/inclu
de  -g -O2 -D_REENTRANT -MT cloud.o -MD -MP -MF ".deps/cloud.Tpo" -c -o cloud.o
cloud.cxx; \
        then mv -f ".deps/cloud.Tpo" ".deps/cloud.Po"; else rm -f ".deps/cloud.T
po"; exit 1; fi
cloud.cxx: In member function `bool SGCloudLayer::reposition(float*, float*,
   double, double, double, double)':
cloud.cxx:728: error: `isnan' undeclared (first use this function)
cloud.cxx:728: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
make[4]: *** [cloud.o] Error 1
make[4]: Leaving directory `/home/biwert/SimGear-CVS/simgear/scene/sky'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/biwert/SimGear-CVS/simgear/scene'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/biwert/SimGear-CVS/simgear'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/biwert/SimGear-CVS/simgear'
make: *** [all-recursive] Error 1
 
 
I can make it compile cleanly by adding
 
inline int (isnan)(double r) { return isnan(r); }
 
to clouds.cxx and cloudfields.cxx but I think this then causes the hang while starting FlightGear, so i would like to avoid this hack.
 
any suggestions about what to do?
 
Best,
Thomas
2006/10/10, Vivian Meazza <[EMAIL PROTECTED]>:

Thomas Biwer

 

That was a long time ago! The problem then was within some SimGear code, however that was resolved. AKAIK, 0.9.10 compiles OK under Cygwin, but I haven't tried it for ages, since I use the CVS version.

 

Seems possible that you have:

 

  1. the wrong version of SimGear
  2. the wrong version of the data.

 

If neither of these are the case, then I'm right out of ideas for now.

 

Vivian

 

 

 

 

Hello there,

 

I compiled FlightGear 0.9.10 on this machine over here using Windows XP and Cygwin and it did properly without showing errors or warnings. When trying to run it for the first time using the cygwin console it starts first but then hangs up at "installing scenery objects". I started it again with using --log-level=debug and the last thing it seems to do is "generating ocean tile" (when path to scenery is specified bz --fg-scenery=/...) or "generating lights" (when scenery path stays unspecified).

 

I think Vivian Meazza described a similar problem over here: http://mail.flightgear.org/pipermail/flightgear-devel/2005-August/038846.html

 

Hardware problems seem unlikely since FG worked properly on the same machine when installed over the installing file downloaded from flightgear.org.

 

 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to