[Flightgear-devel] SimGear 'isnan' compile error

2007-04-23 Thread Laurence Homer
Hi, I am attempting to compile the latest cvs version of FlightGear.but I'm getting an error when I try and compile the pre-requisite SimGear. I'm using Cygwin, on an XP machine, and I believe I have installed all of the pre-requisite programs (Zlib, Glut, OpenAl, OSG, Plib etc) - I think

Re: [Flightgear-devel] SimGear 'isnan' compile error

2007-04-23 Thread Csaba Halász
On 4/23/07, Laurence Homer [EMAIL PROTECTED] wrote: When I try and install SimGear, its all seems to go fine, until I get an error relating to the isnan function – that it complains is un-declared. I realise this means somewhere the header/define file that contains isnan hasn't been

Re: [Flightgear-devel] OSG yasim-test build error - Possible Solution

2007-04-23 Thread Andy Ross
Durk Talsma wrote: Back in January, right before my Canadian adventure, I reported a compile error related to yasim-test. [...] I found that the following modification to src/FDM/Yasim/Makefile.am works: [...] I basically added the -losg* linker directives to ensure that the correct

Re: [Flightgear-devel] OSG yasim-test build error - Possible Solution

2007-04-23 Thread Durk Talsma
Hi Andy, On Monday 23 April 2007 18:11, Andy Ross wrote: Durk Talsma wrote: Back in January, right before my Canadian adventure, I reported a compile error related to yasim-test. [...] I found that the following modification to src/FDM/Yasim/Makefile.am works: [...] I basically

Re: [Flightgear-devel] SimGear 'isnan' compile error

2007-04-23 Thread Laurence Homer
Hi Csaba, Thanks for replying. I've looked at what you said to Loic, and it seems to be a similar problem, though I'm still not sure how to fix it... The extract from OSG math that fails: #if defined(WIN32) !defined(__CYGWIN__) !defined(__MWERKS__) inline bool isNaN(float v) { return

Re: [Flightgear-devel] OSG yasim-test build error - Possible Solution

2007-04-23 Thread Andy Ross
Durk Talsma wrote: Gear.cpp includes: #include simgear/scene/material/mat.hxx Not in CVS it doesn't. It makes a type declaration for class SGMaterial so it can pass a pointer to it only. Do you have some local changes or patches from someone else applied? Andy

Re: [Flightgear-devel] OSG yasim-test build error - Po ssible Solution

2007-04-23 Thread Durk Talsma
On Monday 23 April 2007 21:27, Andy Ross wrote: Durk Talsma wrote: Gear.cpp includes: #include simgear/scene/material/mat.hxx Not in CVS it doesn't. It makes a type declaration for class SGMaterial so it can pass a pointer to it only. Do you have some local changes or patches from

Re: [Flightgear-devel] OSG yasim-test build error - Possible Solution

2007-04-23 Thread Andy Ross
Durk Talsma wrote: Looking at the CVS browser, it seems like this dependency on SimGear was added on January 17, as part of a patch contributed by Maik Justus: Sorry, but I honestly don't know what you're looking at. There are no SimGear includes in the HEAD of Gear.hpp in my tree. There is

Re: [Flightgear-devel] Anisotropic Filtering for Runways

2007-04-23 Thread Olaf Flebbe
hi, In fgIdleFunction(), this line glTexEnvf( GL_TEXTURE_FILTER_CONTROL_EXT, GL_TEXTURE_LOD_BIAS_EXT, -0.5 ) ; should be disabled when we use anisotropic filtering (because it becomes useless and because in all cases it ruins the mipmaping of buildings walls). Thanks! Also

Re: [Flightgear-devel] OSG yasim-test build error - Possible Solution

2007-04-23 Thread Durk Talsma
On Monday 23 April 2007 22:01, Andy Ross wrote: This is bizarre. Curt? Are there separate trees for this stuff? Andy Andy, is there any chance you are looking at the Pre-OSG (i.e. PLIB based) branch of FlightGear? Cheers, Durk

Re: [Flightgear-devel] OSG yasim-test build error - Possible Solution

2007-04-23 Thread Durk Talsma
On Monday 23 April 2007 22:01, Andy Ross wrote: Durk Talsma wrote: Looking at the CVS browser, it seems like this dependency on SimGear was added on January 17, as part of a patch contributed by Maik Justus: Sorry, but I honestly don't know what you're looking at. There are no SimGear

Re: [Flightgear-devel] Flash2a patch

2007-04-23 Thread Martin Spott
Stuart Buchanan wrote: Thanks for checking. You're welcome - I'm currently struggling to catch up with this one and other mailing lists, jumping into one or another thread, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are !

Re: [Flightgear-devel] OSG yasim-test build error - Possible Solution

2007-04-23 Thread Andy Ross
Oh, wait a second: I now see you are talking about the header (.hpp) file, whereas I was referring to the (.cpp) source file, Gear.cpp. You are right that the former (the hpp) contains (only) the SGmaterial reference. The latter, the Gear.cpp source file is the one containing the additional