BuildingOnWindows.wiki
changeset 798 30c5f1ebd552
parent 774 86e81308d67d
child 1891 8c23bd1647de
equal deleted inserted replaced
797:ffa20ab0669b 798:30c5f1ebd552
     3 
     3 
     4 = Building on Windows =
     4 = Building on Windows =
     5 == Warning! ==
     5 == Warning! ==
     6 These build instructions are very outdated. Try to build under [BuildingOnLinux GNU/Linux], if you can.
     6 These build instructions are very outdated. Try to build under [BuildingOnLinux GNU/Linux], if you can.
     7 
     7 
     8 If you have managed to get a successful Windows build for a recent Hedgewars build, please get in touch with us (Try the forums, for example: http://hedgewars.org/forum)
     8 If you have managed to get a successful Windows build for a recent Hedgewars build, please get in touch with us (Try the forums, for example: https://hedgewars.org/forum)
     9 
     9 
    10 == Things to download ==
    10 == Things to download ==
    11 First of all, please use this guide over here ( http://windows.microsoft.com/en-US/windows7/find-out-32-or-64-bit) to see whether your OS is 32 or 64 bit. You will need it while doing the setup.
    11 First of all, please use this guide over here ( http://windows.microsoft.com/en-US/windows7/find-out-32-or-64-bit) to see whether your OS is 32 or 64 bit. You will need it while doing the setup.
    12 
    12 
    13  # CMake - download the *Windows (Win32 Installer)* 
    13  # CMake - download the *Windows (Win32 Installer)* 
    36  # Restart the computer
    36  # Restart the computer
    37  # Download the Hedgewars source:
    37  # Download the Hedgewars source:
    38   # Using TortoiseHg
    38   # Using TortoiseHg
    39    * Right-click in any folder on your computer
    39    * Right-click in any folder on your computer
    40    * Select Tortoise HG -> Clone.
    40    * Select Tortoise HG -> Clone.
    41    * In the _Source_ textbox enter: http://hg.hedgewars.org/hedgewars/
    41    * In the _Source_ textbox enter: https://hg.hedgewars.org/hedgewars/
    42    * Press clone
    42    * Press clone
    43   # Using command-line Mercurial
    43   # Using command-line Mercurial
    44    * 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.
    44    * 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.
    45    * Start _Run..._ ( WINDOWS Key + R , or Start -> Run... )
    45    * Start _Run..._ ( WINDOWS Key + R , or Start -> Run... )
    46    * Enter:
    46    * Enter:
    48 cmd.exe
    48 cmd.exe
    49 }}} 
    49 }}} 
    50    * Navigate to where you want to download the source
    50    * Navigate to where you want to download the source
    51    * Type and execute ( The initial clone of the repository will take a while, is about 550MiB or so... ):
    51    * Type and execute ( The initial clone of the repository will take a while, is about 550MiB or so... ):
    52 {{{
    52 {{{
    53 hg clone http://hg.hedgewars.org/hedgewars/ trunk
    53 hg clone https://hg.hedgewars.org/hedgewars/ trunk
    54 }}}
    54 }}}
    55  # Navigate to the where you cloned the repository source to.
    55  # Navigate to the where you cloned the repository source to.
    56  # Go to the "tools/build_windows.bat" file, and modify the following:
    56  # Go to the "tools/build_windows.bat" file, and modify the following:
    57   * 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\)
    57   * 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\)
    58   * SET SET QTDIR=<path to the QtSDK\Desktop\Qt\<your version>> (for example: c:\QtSDK\Desktop\Qt\4.8.1\)
    58   * SET SET QTDIR=<path to the QtSDK\Desktop\Qt\<your version>> (for example: c:\QtSDK\Desktop\Qt\4.8.1\)