Main Page » Compiling in Mac


Contents

Compile Scorched3D on OSX

Build wxWidgets

  1. Download the tarball for the wxMac release :
    http://wxwidgets.org/downloads/
  2. Extract into build location:
    tar --gzip -xvf <wx tarball name>
  3. Configure and compile wx widgets for static linking:
    mkdir mac-build
    cd mac-build
    ../configure --disable-shared --enable-static --enable-monolithic --enable-unicode --with-mac --with-png=builtin --with-jpeg=builtin --with-tiff=builtin
    nice make
  4. Install
    sudo make install

Install Frameworks

  1. Download and install these frameworks:
    FFTW3.framework
    SDL.framework
    SDL_net.framework
    Vorbis.framework
    FreeType.framework
    Ogg.framework
    UnixImageIO.framework

Compile Scorched3D

  1. Download the tarball for the Scorched3D release:
    Download Source Code
  2. Extract into build location <ScorchedLocation>:
    tar --gzip -xvf <wx tarball name>
  3. Set path to pickup all config scripts:
    export PATH=/usr/local/bin:<ScorchedLocation>/scorched-dep-osx/config:$PATH
  4. Change to Scorched location
    cd <ScorchedLocation>
  5. Make config scripts executable:
    chmod +x scorched-dep-osx/config/*config
  6. Configure:
    cd scorched
    sh autogen.sh
  7. Build:
    nice make
Donate to Scorched3D Get it from CNET Download.com! 5 Stars