Home
Screenshots
Downloads
Forums
Docs
Servers
Stats
IRC Chat
Mods

Special Special    Search Search    Login/Logout Login

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:
    http://www.scorched3d.co.uk/downloadssrc.php
  2. Extract into build location <ScorchedLocation>:
    tar --gzip -xvf <wx tarball name>
  3. Set path to pickup all config scripts:
    export PATH=$PATH:/usr/local/lib:<ScorchedLocation>/osx/configs
  4. Change to Scorched location
    cd <ScorchedLocation>
  5. Make config scripts executable:
    chmod +x osx/config/*config
  6. Configure:
    sh autogen.sh
  7. Build:
    nice make



Edit this pagePage historyWhat links hereRelated changes
Donate to Scorched3D Visit Scorched3D at SourceForge.net Get it from CNET Download.com! 5 Stars
© Copyright 2008 Gavin Camp. All Rights reserved.