On 21 Jul 2010, at 09:24, Alan Teeder wrote: > Debugging on my windows boxes fg_init.cxx line 21 is reached. > > if (_foundPath.str().empty()) { > SG_LOG(SG_GENERAL, SG_ALERT, "Cannot find specified aircraft: " << > aircraft ); > return false; > > aircaftDir is {path="C:/Flightgear/fgdata/Aircraft"} > aircraft is "c172p" > > Directory C:\FlightGear\fgdata\Aircraft\c172p exists on my system.
Can you add some logging in the search functions, to see which directories it is / isn't walking into? I tested on my MSVC box and it all seemed to work as expected, but I will test again this evening. Note at this point in the startup, SG_LOG has not yet processed the --log-level argument, so using std::cout to debug may be easier - this confused me before I understood the order thing are happening in, here. James ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel