Yes it would be nice if someone could commit the changes to the svn-code, however nobody seems to care for the Mac OS X version...strange and sad....
(07-30-2009, 03:10 AM)bmxer55 Wrote: [ -> ] (07-27-2009, 05:14 PM)gilcel Wrote: [ -> ]The error that you have has been discussed here before:
To compile the atomic libraries of Dolphin you need to use "gcc-4.2" and "g++-4.2". The 4.2 version of gcc comes with Apple XCode 3.1.3 which you can download freely at http://connect.apple.com
Thanks, worked like a charm, i think that little bit of info you provided should be committed to svn, especially the gcc-4.2/g++-4.2 part.
I've got some exciting news:
It's the first time that I could configure properly dolphin's-Plugins (Graphics for Full-Screen etc. and Sound) on Mac OS X ! Well, correct me if I'm wrong... :-)
The trick is to use the dolphin's build option "wxconfig=/opt/local/bin/wx-config" so that it uses wxWidgets 2.8.10 installed by the Macports collection instead of the one installed by Mac OS X in /usr/lib/wx/ & /usr/include/wx
If you have installed the Macports collection (see dolphin's Mac OS X wiki page) and Apple's XCode 3.1.x then you just need to download the latest dolphin-svn (tried with svn-3916) and then compile the whole thing with:
#/usr/bin/svn checkout
http://dolphin-emu.googlecode.com/svn/trunk/ dolphin-emu-read-only
#cd dolphin-emu-read-only/
#scons verbose=yes wxconfig=/opt/local/bin/wx-config CC=gcc-4.2 CXX=g++-4.2
You don't even need to change SConscript to use gcc-4.2 and g++-4.2, the command above will do it!
Ok, it will just stop and display the error with OpenALStream.o: It's easy just open the header file:
"Source/Core/AudioCommon/Src/OpenALStream.h"
and change the lines 30-33:
#elif defined(__APPLE__)
#include "openal/al.h"
#include "openal/alc.h"
#else
to:
#elif defined(__APPLE__)
#include "../../../../Externals/OpenAL/include/al.h"
#include "../../../../Externals/OpenAL/include/alc.h"
#else
then compile again:
#scons verbose=yes wxconfig=/opt/local/bin/wx-config CC=gcc-4.2 CXX=g++-4.2
and it should build you "Dolphin.app" in dolphin-emu-read-only/Binary/Darwin-i386/
try now to configure the "Graphics" plug-in and it should work
hope this helps!
I tested it, and it does work on the Graphics plugin. However, none of the other plugin configuration screens seem to work. Nice find, anyway.
This
comment on the OS X issue page at Google Code, is brief, but mentions some issues with WX.
I have noticed in recent builds that having the "Enable Dual Core" option enabled slows down the speed significantly, quite the opposite of what it should do I know! I don't know if anyone else is having these problems. Maybe it is just my Mac. When I disable it, it goes back to a smooth 55-60 fps throughout though so it doesn't matter too much at the moment.
I haven't downloaded and tried all the builds since the one I used in the
SMS video, (r3868), but that was the last build I tried that ran everything smoothly whether "Enable Dual Core" was enabled or not.

nice! Could you actually install OpenAL 1.1 for Mac OS X ? Tried to compile with XCode but if I install the OpenAL.framework in /Library/Frameworks I get the AudioCommon build error:
The solution for now is still to modify line 30-33 in "Source/Core/AudioCommon?/Src/OpenALStream.h" as mentioned at:
http://code.google.com/p/dolphin-emu/wiki/MacOSX_Build
thanks
(08-02-2009, 05:19 AM)tmator Wrote: [ -> ]Here a movie playing ssbm gc on macbook pro 2.93ghz and 4gb ram
http://www.youtube.com/watch?v=wbiY46SrWjQ
Not terrible but it works, i use nongui version with keyboard with padsimple.
did you remove all olders openal version before ?
No I didn't...where do you place them ? Source/Core/AudioCommon?/Src/OpenALStream.h needs the two header files "al.h" and "alc.h" in directory "openal/"
....
#include "openal/al.h"
#include "openal/alc.h"
...
Since there is no "openal/" directory in the 1.1 Build of OpenAL (only OpenAL.framework), where shall I look for ?
thanks for detailed instructions ;-)
I have only this :
r-gcgp-111-t05:~ tmator$ sudo find / -name al.h
Password:
/Library/Frameworks/OpenAL.framework/Versions/A/Headers/al.h
/Users/tmator/Documents/dev/dolphin/dolphin-emu/Externals/OpenAL/include/al.h
r-gcgp-111-t05:~ tmator$
and it works
and with this you can compile dolphin-svn without modifying "Source/Core/AudioCommon?/Src/OpenALStream.h" ?
(08-02-2009, 06:17 PM)tmator Wrote: [ -> ]I have only this :
r-gcgp-111-t05:~ tmator$ sudo find / -name al.h
Password:
/Library/Frameworks/OpenAL.framework/Versions/A/Headers/al.h
/Users/tmator/Documents/dev/dolphin/dolphin-emu/Externals/OpenAL/include/al.h
r-gcgp-111-t05:~ tmator$
and it works