Some weeks ago I finally compile and link FlightGear 0.7.8 with MSVC++6, then I wrote these instructions to help the new developers.
[]'s Marcio Shimoda _________________________________________ 1. Download the lastest version of Plib, Simgear and FlightGear (including the base); 2. Unzip all files; Hint: unzip to the root and don't rename the directories. 3. Compile Plib and copy the directory to Simgear directory with the name plib; 4. Get the simgear_config.h.vc5 on CVS, rename to simgear_config.h and put into Simgear root; 5. Compile Simgear and copy simgear.lib in Debug (or Release) directory to Simgear root; 6. Find the workspace of metakit, open and compile it. Rename the mk4vc60_d.lib in SimGear-0.0.16\simgear\metakit\builds directory to mk4vc60s_d.lib; Copy mk4vc60_d.dll to the same diretory of FlightGear workspace; 7. Include the directories of include and libs to the FlightGear project - Include: FlightGear-0.7.8\src\Include; SimGear-0.0.16\simgear; SimGear-0.0.16\simgear\metakit\include; - Lib: SimGear-0.0.16; SimGear-0.0.16\plib; 8. Add sl.lib to the project and remove the js.lib and the " at the end of list of libraries to add to link. 9. Change all calls to snprintf (FGTrim.cpp) to sprintf, removing the second parameter; 10. Put 'std::' before the calls to cout and endl in apt_signs.cpp; 11. Compile and link FlightGear. Comments: i. You can have some problems with the members of FGILS (ils.hxx), FGFix (fix.hxx, FGNav (nav.hxx)) and SGBucket (newbucket.hxx) classes becouse you're trying to access private variable. For a while just turn these vars public. ii. Change the line "bool getAttribute (Attribute attr) const { return (_attr & attr); }" to "bool getAttribute (Attribute attr) const { return ((_attr & attr) != 0); }" in props.hxx to solve some warnings. iii. You need the Glut to build FG, but don't worry, in the its site you can get the binaries. _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel