6 |
6 |
7 # CMake - download the *Windows (Win32 Installer)* |
7 # CMake - download the *Windows (Win32 Installer)* |
8 * Link: http://cmake.org/cmake/resources/software.html |
8 * Link: http://cmake.org/cmake/resources/software.html |
9 # FreePascal - download the *Download as installer* |
9 # FreePascal - download the *Download as installer* |
10 * Link: http://sourceforge.net/projects/freepascal/files/Win32/2.6.0/fpc-2.6.0.i386-win32.exe/download |
10 * Link: http://sourceforge.net/projects/freepascal/files/Win32/2.6.0/fpc-2.6.0.i386-win32.exe/download |
11 # Qt SDK |
11 # Qt SDK - Select the online installer, as it will save you ~1 GB of bandwidth. Nokia will also require you to register an account to download it. |
12 * Link: ftp://ftp.qt.nokia.com/qt/source/qt-win-opensource-4.7.4-mingw.exe |
12 * Link: http://www.developer.nokia.com/info/sw.nokia.com/id/da8df288-e615-443d-be5c-00c8a72435f8/Qt_SDK.html |
13 # Mercurial - pick one (TortoiseHg has a GUI and is more user-friendly) |
13 # Mercurial - pick one (TortoiseHg has a GUI and is more user-friendly) |
14 # TortoiseHg - Chose one based on your OS version |
14 # TortoiseHg - Chose one based on your OS version |
15 * Link: http://tortoisehg.bitbucket.org/download/index.html |
15 * Link: http://tortoisehg.bitbucket.org/download/index.html |
16 # Command-line mercurial |
16 # Command-line mercurial |
17 * Link: http://mercurial.selenic.com/downloads/ |
17 * Link: http://mercurial.selenic.com/downloads/ |
22 # Install CMake, but please *ensure* you select "Add CMake to the system PATH for all users", so you can run CMake directly from command line. |
22 # Install CMake, but please *ensure* you select "Add CMake to the system PATH for all users", so you can run CMake directly from command line. |
23 # Install FreePascal. |
23 # Install FreePascal. |
24 # Install Qt SDK, with the "Custom" option: |
24 # Install Qt SDK, with the "Custom" option: |
25 * Click the *DESELECT ALL* button. We will then check only what we need |
25 * Click the *DESELECT ALL* button. We will then check only what we need |
26 * Check *Qt SDK/Miscellaneous/MinGW <any version>* |
26 * Check *Qt SDK/Miscellaneous/MinGW <any version>* |
27 * Check *Qt SDK/Development Tools/Desktop Qt/Qt <newest version>/Desktop Qt <newest version> - Mingw* (it's the first checkbox) |
27 * Check *Qt SDK/Development Tools/Desktop Qt/Qt <newest version>/Desktop Qt <newest version> - Mingw* |
28 * !!If there will be any error message boxes, just press ignore until it won't show anymore :) |
28 * !!If there are any error message boxes, just press ignore until they are all gone. :) |
29 # Install TortoiseHg / mercurial |
29 # Install TortoiseHg / Mercurial |
30 # Restart the computer |
30 # Restart the computer |
31 # Download the Hedgewars source: |
31 # Download the Hedgewars source: |
32 # Using TortoiseHg |
32 # Using TortoiseHg |
33 * Right-click in any folder on your computer |
33 * Right-click in any folder on your computer |
34 * Select Tortoise HG -> Clone. |
34 * Select Tortoise HG -> Clone. |
35 * In the _Source_ textbox enter: https://hedgewars.googlecode.com/hg/ |
35 * In the _Source_ textbox enter: https://hedgewars.googlecode.com/hg/ |
36 * Press clone |
36 * Press clone |
37 # Using Command-line mercurial |
37 # Using command-line Mercurial |
38 * If you have Windows 7 skip the next 3 steps, and instead, SHIFT + Right click in the folder where you want to download the source. |
38 * If you have Windows 7 skip the next 3 steps, and instead, SHIFT + Right click in the folder where you want to download the source. |
39 * Start _Run..._ ( WINDOWS Key + R , or Start -> Run... ) |
39 * Start _Run..._ ( WINDOWS Key + R , or Start -> Run... ) |
40 * Enter: |
40 * Enter: |
41 {{{ |
41 {{{ |
42 cmd.exe |
42 cmd.exe |
44 * Navigate to where you want to download the source |
44 * Navigate to where you want to download the source |
45 * Type and execute ( The initial clone of the repository will take a while, is about 550MiB or so... ): |
45 * Type and execute ( The initial clone of the repository will take a while, is about 550MiB or so... ): |
46 {{{ |
46 {{{ |
47 hg clone https://hedgewars.googlecode.com/hg/ trunk |
47 hg clone https://hedgewars.googlecode.com/hg/ trunk |
48 }}} |
48 }}} |
49 # Extract the _Windows Building Archive_ to the hedgewars source folder, in the root source directory - where there are the bin, misc, tools, etc. directories. |
49 # Navigate to the where you cloned the repository source to. |
50 # Go to the "tools/build_windows.bat" file, and modify the following: |
50 # Go to the "tools/build_windows.bat" file, and modify the following: |
51 * SET PASCAL=<put the path to the directory that contains fpc's executable (fpc.exe)> (for example: c:\FPC\2.4.4\bin\i386-win32\) |
51 * SET PASCAL=<put the path to the directory that contains fpc's executable (fpc.exe)> (for example: c:\FPC\2.4.4\bin\i386-win32\) |
52 * SET SET QTDIR=<path to the QtSDK\Desktop\Qt\<your version>> (for example: c:\QtSDK\Desktop\Qt\4.7.3\) |
52 * SET SET QTDIR=<path to the QtSDK\Desktop\Qt\<your version>> (for example: c:\QtSDK\Desktop\Qt\4.8.1\) |
53 # You can now build hedgewars, by running the *tools/build_windows.bat* command. |
53 # You can now build hedgewars, by running the *tools/build_windows.bat* command. |
54 # After building it, you can run it from the Desktop - using the *Hedgewars* shortcut. |
54 # After building it, you can run it from the Desktop - using the *Hedgewars* shortcut. |
55 |
55 |
56 = Additional Setup for Visual Studio 2010 = |
56 = Additional Setup for Visual Studio 2010 = |
57 To build Hedgewars using Visual Studio 2010, you will need to update a few SDL files using this zip file (http://hedgewars.googlecode.com/files/hedgewars-VS2010-additional.zip). Just download and overwrite it into your currect hedgewars project folder. This is mainly an update to SDL_mixer (updating it to version 1.2.12), and changing the SDLconfig.h file to work with the sperate platform headers instead of the current one. |
57 To build Hedgewars using Visual Studio 2010, you will need to update a few SDL files using this zip file (http://hedgewars.googlecode.com/files/hedgewars-VS2010-additional.zip). Just download and overwrite it into your currect hedgewars project folder. This is mainly an update to SDL_mixer (updating it to version 1.2.12), and changing the SDLconfig.h file to work with the sperate platform headers instead of the current one. |