FILE: fgfs/README.fgfs.txt - contained in vc8sln[nn].zip file.

Building Flightgear

This combined solution file, fgfs.sln, combines all the prerequisite components of FlightGear,
which are built first, then FlightGear will be built and linked.

However, OSG must be built first, to provide the OSG libraies and plugins, but OSG requires
library PNG and ZLIB to be existing, BEFORE it will compile, or at least the osgdb-png.dll and
osgdb-zip.dll will compile.

Thus is is necessary to -

1. load MSVC8 and run fgfs.sln FIRST. It will FAIL in the link due to the missing
OSG libraries, but it will build lpng.lib and zlib.lib ...

2. load and run CMake on OSG, giving the paths to library PNG and ZLIB. To see PNG,
the [x] Show Advanced Values needs to be enabled.

3. load MSVC8 on the OSG SLN/VCPROJ set built by CMake above, and build all OSG.

4. load MSVC8 and run fgfs.sln again, and this time the link should complete.

Thus the fgfs\fgfs.sln file uses the following list of VCPROJ files ...
fgfs\fgfs.vcproj
FlightGear\FlightGear.vcproj
pthreads\pthread.vcproj
SimGear\SimGear.vcproj
freeglut\freeglut_static.vcproj
OpenAL\OpenAL-Windows\Alc\ALc.vcproj
OpenAL\OpenAL-Windows\Alu\ALu.vcproj
OpenAL\OpenAL-Windows\OpenAL32\OpenAL32.vcproj
OpenAL\OpenAL-Windows\Router\Router.vcproj
OpenAL\alut\admin\VisualStudioDotNET\alut\alut.vcproj
zlib-1.2.3\projects\visualc6\zlib.vcproj
PLIB\src\fnt\fnt.vcproj
PLIB\src\js\js.vcproj
PLIB\src\net\net.vcproj
PLIB\src\pui\pui.vcproj
PLIB\src\puAux\puAux.vcproj
PLIB\src\sg\sg.vcproj
PLIB\src\util\ul.vcproj
PLIB\src\ssg\ssg.vcproj
lpng1225\projects\visualc6\libpng.vcproj

This list is also in ..\slnlist.txt

Geoff McLane
http://geoffair.net/fg/README.fgfs.htm
March 9, 2008.

EOF
