Scorched3D
• Mountaintop removal at its finest • Server Time: Sun May 19 0:53:55 BST 2013
ONLINE
SERVERS
HOME
DOWNLOAD
COMMUNITY
WIKI
STATS
DEVELOPMENT
▲
Login
Search
Special
Edit this page
|
Page history
|
What links here
|
Related changes
Main Page
»
Compiling in Mac
Contents
1
Compile Scorched3D on OSX
1.1
Build wxWidgets
1.2
Install Frameworks
1.3
Compile Scorched3D
[
edit
]
Compile Scorched3D on OSX
[
edit
]
Build wxWidgets
Download the tarball for the wxMac release :
http://wxwidgets.org/downloads/
Extract into build location:
tar --gzip -xvf <wx tarball name>
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
Install
sudo make install
[
edit
]
Install Frameworks
Download and install these frameworks:
FFTW3.framework
SDL.framework
SDL_net.framework
Vorbis.framework
FreeType.framework
Ogg.framework
UnixImageIO.framework
[
edit
]
Compile Scorched3D
Download the tarball for the Scorched3D release:
Download Source Code
Extract into build location <ScorchedLocation>:
tar --gzip -xvf <wx tarball name>
Set path to pickup all config scripts:
export PATH=/usr/local/bin:<ScorchedLocation>/scorched-dep-osx/config:$PATH
Change to Scorched location
cd <ScorchedLocation>
Make config scripts executable:
chmod +x scorched-dep-osx/config/*config
Configure:
cd scorched
sh autogen.sh
Build:
nice make