Install the Java Development Kit
GeoFIS build needs the Java Development Kit (JDK) to be installed (version 1.8 or greater). Note that the Java Runtime Environment (JRE) is not sufficient, you will need the JDK.
To check if you have the JDK installed, type this on the Windows terminal (Winkey + R then type cmd):
javac -version
If you do not have the JDK installed, download and install the Java SE JDK (SE = Standard Edition).
Setting the JAVA_HOME
set JAVA_HOME
system environment variable to the location of your JDK, e.g. C:\Program Files\Java\jdk1.8.0_80
Install Apache Maven
Download the latest Maven binary zip archive and follow Installation Instructions.
Install SWIG
- Download the latest swigwin Windows prebuilt executable and unzip to the directory you wish to install SWIG.
- Add the unpacked ‘bin’ directory to Windows System Path.
- Open a new Windows command-line and run
swig -version
to verify that it is correctly installed.
Install TortoiseSVN Subversion client
- Download and install from http://tortoisesvn.net/downloads.html
Install MinGW C++ Compiler
- Windows MinGW toolchains builds can be downloaded from WinLibs standalone build of GCC and MinGW-w64 for Windows.
- Other Windows MinGW builds mingw-w64 GCC for Windows 64 & 32 bits:
- Download mingw-w64-install.exe from mingw-w64.sourceforge.net.
- Install it in ‘C:mingw-w64’ destination folder. No spaces in installation path.
- Select ‘i686’ or ‘x86_64’ architecture, depending of your java JRE architecture (32 or 64 bits).
- Or download and unzip from Toolchains targetting Win32 or Toolchains targetting Win64.
- Download mingw-w64-install.exe from mingw-w64.sourceforge.net.
- Add installed compiler ‘bin’ directory to Windows System Path.
- Open a new Windows command-line and run
g++ --version
to verify that it is correctly installed.
GeoFIS is built with version 9.3.0.
Install MSYS2
- See MSYS2 installation
- Download and install the latest msys2-x86_64-xxxxxxxx.exe
-
Update the package database and core system packages
pacman -Syu
-
Install packages
pacman -S patch pacman -S diffutils pacman -S make pacman -S rsync pacman -S pkg-config pacman -S dos2unix