Development on Windows
This wiki explains how to install a compilation environment (based on Msys2/mingw64) to build GIMX.
It also explains how to install Eclipse CDT and perform a checkout.
Unless otherwise specified, perform a default installation (default directories, etc).
Contents
Msys2/MinGW64
Download and install Msys2. Make sure to follow the instructions from the Msys2 wiki.
If you are running a 32-bit Windows, install the "32-bit" of Msys2.
If you are running a 64-bit Windows, you can choose either the "64-bit" version or the "32-bit" version.
Development tools
Run the Msys2 shell and type:
pacman --noconfirm -S wget wget https://raw.githubusercontent.com/matlo/GIMX-build/master/win/install.sh ./install.sh
Libraries
Run the Msys2 shell and type:
32-bit:
pacman --noconfirm -S mingw-w64-i686-gcc mingw-w64-i686-SDL2 mingw-w64-i686-libxml2 mingw-w64-x86_64-curl wget https://github.com/matlo/GIMX-tools/releases/download/1.0/mingw-w64-i686-libusb-1.0.18-1-any.pkg.tar.xz wget https://github.com/matlo/GIMX-tools/releases/download/1.0/mingw-w64-i686-pdcurses-3.4.0-1-any.pkg.tar.xz wget https://github.com/matlo/GIMX-tools/releases/download/1.0/mingw-w64-i686-wxMSW-2.8.12-1-any.pkg.tar.xz pacman --noconfirm -U *.pkg.tar.xz
64-bit:
pacman --noconfirm -S mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2 mingw-w64-x86_64-libxml2 mingw-w64-i686-curl wget https://github.com/matlo/GIMX-tools/releases/download/1.0/mingw-w64-x86_64-libusb-1.0.18-1-any.pkg.tar.xz wget https://github.com/matlo/GIMX-tools/releases/download/1.0/mingw-w64-x86_64-pdcurses-3.4.0-1-any.pkg.tar.xz wget https://github.com/matlo/GIMX-tools/releases/download/1.0/mingw-w64-x86_64-wxMSW-2.8.12-1-any.pkg.tar.xz pacman --noconfirm -U *.pkg.tar.xz
Automated command-line build
Run the Msys2 shell and type:
wget https://raw.github.com/matlo/GIMX-build/master/win/build.sh ./build.sh
All binaries are copied into C:\MinGW\msys\1.0\home\username\GIMX\setup.
Eclipse IDE
This part is only useful in case you intend to modify the source code. If you only want to build GIMX, you can skip it.
Eclipse is an IDE that can be stacked onto the MinGW/MSYS compilation toolchain.
Be sure to have a java JRE installed on your system.
Download Eclipse IDE for C/C++ Developers. Unzip it to wherever you want.
Run eclipse.exe.
Project checkout
Todo: add instructions.