$pagename = $_SERVER['SCRIPT_FILENAME']; $linkname = "home-name.jpg"; if (strstr($pagename, "phpB")) $linkname = "forums-name.jpg"; else if (strstr($pagename, "stats")) $linkname = "stats-name.jpg"; else if (strstr($pagename, "renderer")) $linkname = "tech-name.jpg"; else if (strstr($pagename, "screens")) $linkname = "screens-name.jpg"; else if (strstr($pagename, "downloads")) $linkname = "downloads-name.jpg"; else if (strstr($pagename, "links")) $linkname = "links-name.jpg"; else if (strstr($pagename, "servers")) $linkname = "server-name.jpg"; else if (strstr($pagename, "show")) $linkname = "server-name.jpg"; else if (strstr($pagename, "chat")) $linkname = "chat-name.jpg"; ?>
Special
Search
Login
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:
http://www.scorched3d.co.uk/downloadssrc.php
Extract into build location <ScorchedLocation>:
tar --gzip -xvf <wx tarball name>
Set path to pickup all config scripts:
export PATH=$PATH:/usr/local/lib:<ScorchedLocation>/osx/configs
Change to Scorched location
cd <ScorchedLocation>
Make config scripts executable:
chmod +x osx/config/*config
Configure:
sh autogen.sh
Build:
nice make
Edit this page
Page history
What links here
Related changes
© Copyright 2008
Gavin Camp
. All Rights reserved.