Updated Compilation guide (OS X) (markdown)

Themaister 2012-02-25 16:26:08 -08:00
parent 193bd33f04
commit 7ed104b2fe
1 changed files with 1 additions and 15 deletions

@ -7,21 +7,7 @@ libsdl 1.2 (1.3 devel might work, but is not advised)<br/>
git-core - To pull the sources :D<br/>
### Important note for OSX 10.7+ (Lion) users
OSX 10.6 deprecated some calls used by SDL, and was removed in 10.7, causing fullscreen modes to fail.
If you are on 10.7 you should build SDL from latest mercurial checkout, which has a fix for this.
MacPorts are not currently building with the important patch applied, so, if regular MacPorts SDL fails for you, this should do the trick:
### If you have not installed mercurial/Hg yet.
sudo port install mercurial
###
hg clone -u SDL-1.2 http://hg.libsdl.org/SDL SDL-1.2
cd SDL-1.2
./autogen.sh
./configure --prefix=/opt/local
make
sudo make install
As this conflicts with the installed MacPorts SDL, it is recommended to disable updates for SDL if possible (unless new updates have fixes applied :D).
On OSX 10.7+, SDL 1.2.15 or newer (1.3) is required. 1.2.14 or older will fail to use fullscreen modes due to removal of deprecated features.
### Optional dependencies
libxml2 - XML shaders and cheat support<br/>