FWD includes native C code that must be built for many of the build targets. The most commonly used target is
all, which builds the native components. Building the native code requires a C compiler and native code build utilities.
binutils packages can be installed using
sudo apt-get install gcc (the utilities will be pulled in automatically).
MinGW is the recommended compiler and tools suite for building the FWD native code on Windows. It is an open source Windows port of gcc and the other common build tools that exist on UNIX/Linux (the linker, make...). It is packaged in a manner that allows full WIN32 development. As this is not using the
Cygwin compatibility environment at runtime, the native FWD code will link to the
msvcrt library to get the basic C runtime routines.
Download one of the precompiled binary distributions, for your convenience the 4.9.0 version has been stored at https://proj.goldencode.com/downloads/mingw/mingw32_4.9.0_20140425.zip for the 32-bit binary or https://proj.goldencode.com/downloads/mingw/mingw64_4.9.0_20140425.zip for the 64-bit binary. These were originally found at MinGW precompiled page (
mingw-w64-bin-x86_64-2013MMDD.7z). Install 32-bit compiler in 32-bit OS and 64-bit compiler in 64-bit OS.
Unpack the MinGW archive, assuming the current directory is system root:
jar xf path_to_archive\mingw32_4.9.0_20140425.zip
jar xf path_to_archive\mingw64_4.9.0_20140425.zip.
Include the appropriate
\mingwXX\bin in the
PATH system variable, i.e.
C:\mingw32\bin, depending on the Windows architecture in use.