On 30 Oct 2010, at 14:04, Csaba Halász wrote: > > Thanks Vivian, based on this information I think the culprit is in > src/Input/FGCommonInput.hxx: > > #if defined( UL_WIN32 ) > #define TGT_PLATFORM "windows" > #elif defined ( UL_MAC_OSX ) > #define TGT_PLATFORM "mac" > #else > #define TGT_PLATFORM "unix" > #endif > > However, the plib include ul.h that defines the UL_* macros is not > included here. > Try adding #include <plib/ul.h> before that block.
I'll work up some equivalent platform defines in SimGear, based on the PLUB UL ones, and switch this code (and any other uses of UL_WIN32 / UL_MAC) to use them. One more step along the road to a PLIB-free future! James ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

