Building FlightGear - Windows: Difference between revisions

Jump to navigation Jump to search
Line 77: Line 77:


Extract the archive in your FlightGear project root directory, '''C:\FlightGear\''' in these instructions.  This will create the directory '''3rdParty''' under your project root directory.
Extract the archive in your FlightGear project root directory, '''C:\FlightGear\''' in these instructions.  This will create the directory '''3rdParty''' under your project root directory.
=== Getting zlib ===
====Step 1====
Download the latest zlib binary package here http://sourceforge.net/projects/gnuwin32/files/zlib/1.2.3/zlib-1.2.3-lib.zip/download (direct link) or view the release page here http://sourceforge.net/projects/gnuwin32/files/zlib/1.2.3/
====Step 2====
Extract the archive you downloaded in Step 1 in the "3rdParty" directory under your FlightGear project root directory.
====Step 3====
As of zlib version 1.2.3, you must edit line 287 of the file "3rdparty\include\zconf.h" from "#if 1" to "#if 0" to avoid compiler errors when compiling SimGear against zlib.


=== Getting plib ===
=== Getting plib ===
186

edits

Navigation menu