This wiki has been moved to https://github.com/SuperTux/wiki into the mediawiki branch.

Difference between revisions of "Building SuperTux"

From SuperTux
Jump to: navigation, search
(Good luck, Mac users!)
Line 2: Line 2:
  
 
Supertux development mainly happens on linux. The sourcecode is written in a portable manner but the tools and development environment for windows isn't there (yet?). However you should be able to get the game built with the help of msys. Find more detailed instructions at [[Building on Windows]].
 
Supertux development mainly happens on linux. The sourcecode is written in a portable manner but the tools and development environment for windows isn't there (yet?). However you should be able to get the game built with the help of msys. Find more detailed instructions at [[Building on Windows]].
 +
 +
= Mac OS X =
 +
 +
[[User:RavuAlHemio|Ravu al Hemio]] has written a [[User:RavuAlHemio/Mac_OS_X_compilation|guide]] for Mac OS X Tiger users on building SuperTux.
  
 
= Prerequesites =
 
= Prerequesites =

Revision as of 11:40, 11 April 2006

Some notes for windows users

Supertux development mainly happens on linux. The sourcecode is written in a portable manner but the tools and development environment for windows isn't there (yet?). However you should be able to get the game built with the help of msys. Find more detailed instructions at Building on Windows.

Mac OS X

Ravu al Hemio has written a guide for Mac OS X Tiger users on building SuperTux.

Prerequesites

  • gcc compiler &co (gcc, g++, binutils, glibc)
  • gettext
  • autoconf
  • jam
  • SDL (*)
  • SDL-image (*)
  • OpenGL (*)
  • OpenAL (*)

You should make sure that you also have development headers and libraries installed for the tools marked with (*).

Getting the source

The first thing to get started with supertux is getting the latest development resources from the subversion repository. How to do this is described here at Download/Subversion.

Configuring the source

Before compiling the sourcecode you have to configure it so that it gets adapted to your machine. Use the following commands:

./autogen.sh
./configure --enable-debug

configure checks if all prerequisits are met.

Compiling the source

You can compile the sourcecode from commandline with the help of jam. Simply type

jam

and the game should build. You should Contact us in case of errors or problems.

Setting up IDEs

This section is under construction. IDEs that should be able to handle supertux include:

  • KDevelop
  • Eclipse with CDT