FILE: fgfs/README.fgfs.txt - contained in vc?sln[nn].zip file.
DATE: 2008-10-05

Building Flightgear - Release

This combined solution file, fgfs.sln, combines all the prerequisite components of FlightGear,
which are built first, then FlightGear will be built and linked. It is meant mainly for
the Release configuration, which you should do first, but the Debug should also work.

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

Thus is is necessary to -

1. load MSVC and run fgfs.sln FIRST. It will FAIL in the link due to the missing
OSG libraries, but it will build libpng.lib and zlib.lib ... or you can choose to singularly
compile just these two projects. The build copies the built libraries to the root of
each repectively.

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, and you will need to run [Configure]
once to see the two PNG values. PNG is dependant on ZLIB, so it must find ZLIB
first.

3. load MSVC on the OSG SLN/VCPROJ set built by CMake (2.4) above, and build all OSG.

4. load MSVC 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.sln
fgfs\fgfs.vcproj
fgfs\README.fgfs.txt
FlightGear\FlightGear.vcproj
pthreads\pthread.vcproj
SimGear\SimGear.vcproj
freeglut\freeglut_static.vcproj
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
lpng\projects\visualc71\libpng.vcproj

This list is also in ..\slnlist.txt

Geoff McLane
http://geoffair.net/fg/README.fgfs.htm
Updated: Oct 5, 2008 - started March 9, 2008.

EOF
