For various reasons I have had to reinstall my cygwin environment over the last couple of days, and rebuild all the parts of FlightGear. I thought that it might be useful if I noted the problems I had, so that they can either be addressed, or added to the FAQs.
I downloaded and installed Cygwin from ftp.easynet.be this morning (European time). Installation was basically standard, but with the Development tools added, and XFree removed. The base OS is W2K SP1. There appears to have been a change in the home directory setting in Cygwin since I last installed, which breaks some things, but that is OT for this message. GCC is version 3.2 Metakit - in src/string.cpp, around line 40, stricmp is defined, this conflicts with an existing defintion on my system, so I commented the whole function out. I guess the correct fix is to modify the #if that wraps the function definition, but I do not know the correct symbol to check. SimGear - configure does not find the metakit libs unless I set LDFLAGS="-L/usr/local/lib/". Is this a SimGear, Metakit, Autoconf or Cygwin problem? SimGear - simgear/sky/clouds3d/SkyTextureState.cpp - glActiveTextureARB is undefined. For now I have removed the clouds3d directory from the Makefile in .../simgear/sky, but this is obviously a workaround, but I got stuck trying to find the real fix. FlightGear - configure cannot find Metakit without setting LDFLAGS as above. FlightGear - build - multiple warnings that WIN32 is redefined. Not a huge problem, but I guess that it doesn't need to be set in config.h since it is already set in /usr/include/w32api/windef.h Documentation - In the Installation and Getting Started Guide, both sections 2.1 and 2.2 are titled "Preparing the development environment under Windows". I think 2.2 should be Linux. When I finish tweaking it, I will submit a joystick profile for the Saitek Cyborg 3D Rumble Force (what a name!). Is there any possibility of driving the Force Feedback on joysticks? This one only has a motor that makes the stick shake, but if linked to WOW, it would be a nice indication of when you are on the ground. Richard _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
