Norman Vine writes
>>>
>>Norman Vine wrote:
>>>
>>> FWIW
>>> MingW32 < which uses the MSoft runtime libraries >
>>> is blowing up in fgInitSubsystems()
>>> in globals->saveInitialState();
>>> at
>>> /environment[0]/weather[0]/wind-north-mps[0] wind-north-mps = NaN
>>>
OK-- This ones easy to fix, there is no reason to tie things that aren't
hooked up yet to the properties and in fact can cause fp errors
best to comment these out till we have them hooked up to somerhing
FlightGear \ src \ WeatherCM \ FGLocalWeatherDatabase.cpp
// fgTie("/environment/weather/wind-north-mps", this,
&FGLocalWeatherDatabase::get_wind_north);
// fgTie("/environment/weather/wind-east-mps", this,
&FGLocalWeatherDatabase::get_wind_east);
// fgTie("/environment/weather/wind-up-mps", this,
&FGLocalWeatherDatabase::get_wind_up);
// fgTie("/environment/weather/temperature-K", this,
&FGLocalWeatherDatabase::get_temperature);
// fgTie("/environment/weather/air-pressure-Pa", this,
&FGLocalWeatherDatabase::get_air_pressure);
// fgTie("/environment/weather/vapor-pressure-Pa", this,
&FGLocalWeatherDatabase::get_vapor_pressure);
// fgTie("/environment/weather/air-density", this,
&FGLocalWeatherDatabase::get_air_density);
another problem is in simgear / sky / cloud.cxx
bool SGCloudLayer::reposition( sgVec3 p, sgVec3 up, double lon, double lat,
double alt )
{
....
// now calculate update texture coordinates
if ( last_lon < -900 ) {
cout << "last_lon < -900" << endl;
last_lon = lon;
last_lat = lat;
}
// change if( lon - lat_lon != 0 || lat-last_lat != 0 ) to
if ( fabs(lon-last_lon) > FLT_EPSILON || fabs(lat-last_lat) >
FLT_EPSILON ) {
...
}
Looks as if we may still have some more but ..
squashing these should help.
Christian
Try commenting out your SIG_FPE catcher and see if this runs for you
It does for me now with the above changes but ...
the FPE TRAP I installed still reports a problem .. Go Figure ??
Cheers
Norman
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel