• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Site › Old Game Discussion (Archive) v
« Previous 1 ... 59 60 61 62 63 ... 126 Next »

OSX compile - How to
View New Posts | View Today's Posts

Poll: Did this help you at all?
Yes
No
Sorta..
[Show Results]
 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
OSX compile - How to
06-06-2010, 12:09 AM (This post was last modified: 06-06-2010, 12:12 AM by shawnanastasio.)
#1
shawnanastasio Offline
Dolphin's Mac Expert!
****
Posts: 608
Threads: 54
Joined: Apr 2009
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 Smile


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.

Checkout my latest project ( it is a program that downloads and compiles dolphin on mac and linux now): http://code.google.com/p/dolphin-emu-downloader (It's unofficial and maintained by me, not the dolphin dev team)
Find
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode