![]() |
|
OSX compile - How to - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Site (https://forums.dolphin-emu.org/Forum-dolphin-site) +--- Forum: Old Game Discussion (Archive) (https://forums.dolphin-emu.org/Forum-old-game-discussion-archive) +--- Thread: OSX compile - How to (/Thread-osx-compile-how-to) |
OSX compile - How to - shawnanastasio - 06-06-2010 oka, since the osx wiki page is all screwed up i am going to make my own version of it. ok, lets a go! Step 1 -dependancies- First install Macports with the installer from: http://www.macports.org/install.php MacPorts Next, install Xcode from your osx install disc or from: the apple developer site (if oyu have developer ID) Than, get the CG toolkit from: http://developer.nvidia.com/object/cg_download.html (please note if you are on snow leopard still download the leopard/tiger one) now in terminal run: sudo port install glew +universal libsdl +universal scons +universal zlib +universal and now Wx widgets... i will quote this from the wiki. wxWidgets support of the Cocoa framework is still in development. As such, getting Dolphin to work on modern Mac OS X requires that you build from wxWidget's svn. So, checkout revision 63470 (HEAD seems to have introduced some bugs...) and move into the build directory: svn co -r 63470 https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk wxw cd wxw/build Now you're ready to configure the build environment: ../configure --with-aui --with-cocoa CC="gcc -arch i386 -arch x86_64" CXX="g++ -arch i386 -arch x86_64" CPP="cpp" --with-macosx-version-min=10.5 --enable-image --disable-dependency-tracking This is Important! Unfortunately, due to a bug in wxWidget's buildscripts, you need to replace the contents of the bk-make-pch file with this code: http://pastie.org/914712.txt?key=v7cn5mkgwwktrtad4dslzq . Now you can finally make wxWidgets! This will take a while ![]() Than, make sudo make install Checkout and Compile Dolphin We will checkout Dolphin's source from svn and use scons to build: svn co http://dolphin-emu.googlecode.com/svn/trunk dolphin-emu cd dolphin-emu scons verbose=true wxconfig=/usr/local/bin/wx-config (Setting wxconfig is not strictly necessary if you have the svn/2.9 version of wx-config in your ${PATH} before any 2.8 version of it. Using the above instructions, this would mean having /usr/local/bin before /usr/bin and /opt/local/bin , since both OS X and MacPorts use version 2.8 of wxWidgets, which is not 64-bit compatible.) If scons says scons: done building targets.: Party, and head over to Binary/<your_arch> and enjoy the fruits of your cpu time ;p ok, hope this helps. Good Luck. |