distributions.
* Linux development tools (your distribution should come with these):
- - gcc compiler version 3.2 or newer (you need the c++ compiler g++)
+ - gcc compiler suite version 3.2 or newer (you need the c++ compiler g++)
http://gcc.gnu.org
- gnu binutils
http://www.gnu.org/software/binutils
- a shell and POSIX commandline tools
-* CMake 2.4.7 or later
+* CMake 2.6 or later
Download: http://www.cmake.org/HTML/Download.html
Homepage: http://www.cmake.org/
* SDL 1.2.5 or later (1.2.8 is recommended on Mac OS X)
http://www.libsdl.org
-* SDL_image (any version)
+* SDL_image (any version that includes PNG and JPEG support)
http://www.libsdl.org/projects/SDL_image
-* PhysicsFS (1.0.0, the development branch 1.1.x is buggy and does not work,
- 1.2.0 and later should work when it is released)
+* PhysicsFS (1.0.x or 2.0.x)
http://www.icculus.org/physfs
* OpenAL
like Mac OS X or windows should work.
http://www.openal.org
+* GLEW
+ http://glew.sourceforge.net/
+
+* Boost's smart_ptr headers
+ http://www.boost.org/
Note: We tried to write our code clean, portable and platform neutral, so it
should be possible to compile it on a wide range of platforms and also with
SuperTux, install those first, then try running CMake again. See below
for instructions on how to change to standard options.
- 2. Type `make' to start the build process.
+ 4. Type `make' to start the build process.
- 3. Type `make install' to install the programs and any data files and
+ 5. Type `make install' to install the programs and any data files and
documentation. (You should be a root user on Linux systems.
You can become a root user with the `su' command or by using
`sudo make install')
- 4. The game should work now and you can remove the source directory.
+ Note that there is no uninstall target, so you might wish to create a
+ package or other system-specific installation instead.
+
+ 6. The game should work now and you can remove the source directory.
You can customize the build process by setting additional options for CMake.
The easiest way to do this is to use run `ccmake ..' instead of `cmake ..'
- to bring up the curses-based user interface of CMake. Select and option using the
+ to bring up the curses-based user interface of CMake. Select an option using the
arrow keys, change the selected option by pressing the Enter key, then
hit the `c' (repeatedly, if necessary) to apply your changes and bring
up new options resulting from your newly set ones. When you are done, press
Generates Makefiles that print all commands prior to executing them.
-Dxxx_LIBRARY=/path/to/library.so -Dxxx_INCLUDE_DIR=/path/to/headerfiles
Manually specify the installation directory of a library.
- -DDEBUG=ON
+ -DCMAKE_BUILD_TYPE=DEBUG
Enables debug mode and compiles extra debug symbols into the SuperTux
executable. This is useful when sending in bug reports to the
developers.
+ -DCMAKE_BUILD_TYPE=RELEASE
+ Enables release mode and compiles some sanity checks out of the build.
Note for SVN users:
SuperTux does not need to be installed on the system, you can run it from