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

Building SuperTux

From SuperTux
Revision as of 06:17, 25 March 2006 by MatzeB (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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