-
Notifications
You must be signed in to change notification settings - Fork 13
Compilation guide (OS X)
Compilation on OS X is mostly MacPorts based. Dependencies can be build from MacPorts.
MacPorts installed
pkgconfig
libsdl 1.2 (1.3 devel might work, but is not advised)
gcc46
git-core - To pull the sources :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.
In OSX 10.8+, Apple apparently removed X11 support. SDL will complain about X11 headers missing during build. To resolve this, visit http://xquartz.macosforge.org/trac/wiki, download and install 2.7.2+. After this, you should symlink xquartz to /usr as root:
ln -s /opt/X11 /usr/X11
libxml2 - XML shaders and cheat support
freetype - TTF font rendering
By default, RetroArch does not include a libretro implementation. Refer to an implementation how to build a .dylib from it.
Standard Unix fare now that the dependencies are in place:
git clone git://github.com/Themaister/RetroArch.git
cd RetroArch
./configure --prefix=/opt/local # Script will autodetect features. Refer to --help if you want to override anything.
make
sudo make install
If you want to build the GUI, GCC 4.5 or more recent is required, so I hope you have a powerful CPU! :D
You'll also need to install qt4-mac
from MacPorts. Qt could also be downloaded directly from their home pages and installed that way.
git clone git://github.com/Themaister/RetroArch-Phoenix.git
cd RetroArch-Phoenix
make # If you downloaded Qt from their homepage.
make MACPORTS_QT=1 # If you built Qt from MacPorts.
You should now have an RetroArch-Phoenix.app which should work. Enjoy! :)