This wiki has been moved to into the mediawiki branch.

User:X2on/Mac OS X compilation

From SuperTux
< User:X2on
Revision as of 20:07, 24 May 2010 by (Talk)

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

Work in Progress....


Installing MacPorts [1] Update MacPorts

sudo port selfupdate -d

Install libraries from Macports:

sudo port install libsdl libsdl_image cmake libvorbis physfs glew boost

Build SuperTux

svn checkout
cd supertux
mkdir build
cd build
cmake ..

Resolve issues with missing library

cd ..
cp /opt/local/lib/libphysfs.2.0.0.dylib libphysfs.1.dylib

Test SuperTux



cd build
sudo make install
sudo mv /usr/local/ ../

Link libaries into the app

Download mac dylib bundler at (0.3.1) Unpack it and run


You can install the Tool systemwide (make install) or work with PATH

export PATH=`pwd`:"$PATH"

Change your directory where your is:

dylibbundler -b -x ./ -d ./ -od

The Tool can't find the libphysfs.1.dylib so you must enter the path of your libphysfs.1.dylib

Now you can run