How to build the Windows version

(Various clarifications from thamlett, thanks)
Line 9: Line 9:
* Click on configure. You will be asked to create the directory (yes), then for your VS version. Make sure to select the right version (be aware of the easy to confuse version numbers: VS 2013 = version 12). Click on configure, then generate. This will create the directory 'bld', and a VS solution in that directory.
* Click on configure. You will be asked to create the directory (yes), then for your VS version. Make sure to select the right version (be aware of the easy to confuse version numbers: VS 2013 = version 12). Click on configure, then generate. This will create the directory 'bld', and a VS solution in that directory.
* In Visual Studio open the project file generated in the 'bld' folder.  
* In Visual Studio open the project file generated in the 'bld' folder.  
 +
* In the upper set of toolbars, select the dropdown menu for Solution Configurations and select “Release.” If you are a developer, you might want to use the “debug” configuration, but it does have decreased performance.
* Right click on the supertuxkart project in the solution explorer, and select "Set as StartUp Project".
* Right click on the supertuxkart project in the solution explorer, and select "Set as StartUp Project".
* Select Build->Build Solution (or press F7) to compile.
* Select Build->Build Solution (or press F7) to compile.
You can also start STK from the command line: change into STK's root directory, and do:
You can also start STK from the command line: change into STK's root directory, and do:
-
./bld/Debug/supertuxkart.exe
+
./bld/Release/supertuxkart.exe
=== Instructions for Creating the Installer ===
=== Instructions for Creating the Installer ===

Revision as of 21:27, 30 November 2014

This page describes the build and packaging process on Windows. You need Visual Studio 2013 (or higher), the free express version works fine. Visual Studio Community, a free version that is licensed for open-source projects, can be found here. VS 2012 and earlier do not compile STK anymore. You have to follow the instructions in order – later steps will not work unless previous steps are completed.

Instructions for Compiling

You can also start STK from the command line: change into STK's root directory, and do: ./bld/Release/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