How to build the Windows version

(Updated instructions for the new depdencies_for_0.8.2.zip package)
(Replaced svn with new git instructions)
Line 3: Line 3:
=== Instructions for Compiling ===
=== Instructions for Compiling ===
* Install VS 2012 or later (2008 and 2010 might still work, but are unsupported). The free express versions work fine.
* Install VS 2012 or later (2008 and 2010 might still work, but are unsupported). The free express versions work fine.
-
* Download and install a source package - either a released package or from [[Downloads#Latest_Development_Version|svn]].
+
* Download and install a source package - either a released package or from our [http://supertuxkart.sourceforge.net/Source_control git/svn repositories].
* Download the latest dependency package depdendencies_for_0.8.2.zip from [https://sourceforge.net/projects/supertuxkart/files/SuperTuxKart%20Dependencies/Windows/ here]. Unzip it in the root directory, so that the dependencies directory is next to the src and data directory (if you are updating from a previous dependency package, you can delete the .dll files in the root directory, they are not needed anymore).
* Download the latest dependency package depdendencies_for_0.8.2.zip from [https://sourceforge.net/projects/supertuxkart/files/SuperTuxKart%20Dependencies/Windows/ here]. Unzip it in the root directory, so that the dependencies directory is next to the src and data directory (if you are updating from a previous dependency package, you can delete the .dll files in the root directory, they are not needed anymore).
* Download [http://www.cmake.org cmake] and install it. Then start cmake-gui and select the STK root directory as 'Where is the source code', and a new directory in the root directory (next to src, data etc) as build directory (for now I assume that this directory is called bld).
* Download [http://www.cmake.org cmake] and install it. Then start cmake-gui and select the STK root directory as 'Where is the source code', and a new directory in the root directory (next to src, data etc) as build directory (for now I assume that this directory is called bld).

Revision as of 23:45, 21 January 2014

This page describes the build and packaging process on windows. You need Visual Studio 11 or higher, the free express version works fine.

Instructions for Compiling

You can also start STK from the command line: change into STK's root directory, and do: ./bld/Debug/supertuxkart.exe

Instructions for Creating the Installer

Note that this step is only necessary if you want to create an installer package. To just run or debug STK, only the above Instructions for Compiling need to be followed.

Retrieved from "http://supertuxkart.sourceforge.net/How_to_build_the_Windows_version"

User Tools