Difference between revisions of "Development on Windows/en"
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages /> | <languages /> | ||
This wiki explains how to install a compilation environment (based on MinGW) to build GIMX.<br /> | This wiki explains how to install a compilation environment (based on MinGW) to build GIMX.<br /> | ||
− | It also explains how to install Eclipse CDT | + | It also explains how to install Eclipse CDT and perform a checkout.<br /> |
Unless otherwise specified, perform a default installation (default directories, etc). | Unless otherwise specified, perform a default installation (default directories, etc). | ||
+ | |||
+ | ==Git== | ||
+ | |||
+ | [http://msysgit.googlecode.com/files/Git-1.8.4-preview20130916.exe Download] and install Git. | ||
==MinGW/MSYS== | ==MinGW/MSYS== | ||
Line 32: | Line 36: | ||
Download and run the install.sh script: | Download and run the install.sh script: | ||
− | wget | + | wget <nowiki>https://raw.github.com/matlo/GIMX-build/master/win/install.sh</nowiki> |
./install.sh | ./install.sh | ||
Line 41: | Line 45: | ||
Download and run the build.sh script: | Download and run the build.sh script: | ||
− | wget | + | wget <nowiki>https://raw.github.com/matlo/GIMX-build/master/win/build.sh</nowiki> |
./build.sh | ./build.sh | ||
Line 53: | Line 57: | ||
Download [http://www.eclipse.org/downloads/ Eclipse IDE for C/C++ Developers]. Unzip it to wherever you want.<br /> | Download [http://www.eclipse.org/downloads/ Eclipse IDE for C/C++ Developers]. Unzip it to wherever you want.<br /> | ||
Run eclipse.exe. | Run eclipse.exe. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Project checkout=== | ===Project checkout=== | ||
− | + | Todo: add instructions. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 23:28, 27 November 2013
This wiki explains how to install a compilation environment (based on MinGW) 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
Git
Download and install Git.
MinGW/MSYS
This part explains how to install the compilation toolchain.
Download and run Mingw 20120426.
The only thing to configure during the installation process: in the "Select Components" panel, select "C++ Compiler" and "MSYS Basic System".
Append ";C:\MinGW\bin;C:\MinGW\msys\1.0\bin" (without quotes, don't forget the first semicolon) to your system PATH (Control Panel > System > Advanced > Environment Variables > System variables > Path > Edit).
Libraries
This part explains how to install the required libraries (libiconv, SDL, wxWidgets, libxml, zlib).
Run C:\MinGW\msys\1.0\msys.bat
Install wget:
mingw-get install msys-wget
Download and run the install.sh script:
wget https://raw.github.com/matlo/GIMX-build/master/win/install.sh ./install.sh
Automated command-line build
This part explains how to checkout and build GIMX from the command-line.
Run C:\MinGW\msys\1.0\msys.bat
Download and run the build.sh script:
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.