• Tutorial: Building SuperTux 0.3.2 SVN on Mac OS X Snow Leopard

    by  • January 30, 2010 • Mac, Software, Tutorials • 1 Comment

    Building SuperTux 0.3.2 SVN is different then building SuperTux 0.3.1 on Mac OS X.

    Prerequisites

    sudo port selfupdate -d
    • Install libraries from Macports:
    sudo port install libsdl libsdl_image cmake libvorbis physfs glew boost

    Build SuperTux

    svn checkout http://supertux.lethargik.org/svn/supertux/trunk/supertux
    cd supertux
    mkdir build
    mkdir dist
    cd build
    cmake .. -DCMAKE_INSTALL_PREFIX=../dist/

    Resolve issues with missing library

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

    Create SuperTux.app

    cd build
    make install

    Link libaries into the app

    make
    • You can install the Tool systemwide (make install) or work with PATH
    export PATH=`pwd`:"$PATH"
    • Change your directory where your SuperTux.app is:
    dylibbundler -b -x ./SuperTux.app/Contents/MacOS/supertux2 -d ./SuperTux.app/Contents/libs/ -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 SuperTux.app

    Links:

    Sponsor

    One Response to Tutorial: Building SuperTux 0.3.2 SVN on Mac OS X Snow Leopard

    1. Pingback: Tutorial: Building SuperTux 0.3.3 on Mac OS X Lion | x2on.de

    Leave a Reply

    Your email address will not be published. Required fields are marked *