Dolphin, the GameCube and Wii emulator - Forums

Full Version: Mac OS X Build
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12

sansnipple

i do know that the plugins all have to be set manually after building on osx, but the openGL plugin did not compile at all, it was missing from the plugins folder.

also, does anyone know if the 360 controller and real wiimote work on osx?

@bambam95 you do have the dev tools (xcode) installed, right?
OK I managed to get Dolphin SVN r3866 to compile. It loads fine and doesn't crash. I then go to load up SSBM and after a couple of tries of unexpectedly quitting, it finally works!

The problem is the pad plug-in I think. I only have a keyboard so I am using the Dolphin KB/X360 pad plug-in. The problem is that I am getting no response from the keyboard. When I go to configure the controls, I am getting no response from any key I press on the keyboard so I can't assign any keys.

Annoying because I am at the screen when it says about formatting the memory card in Slot A so I haven't actually seen the game running yet. Any suggestions? Smile

sansnipple

ok found the problem:
Quote:Looking for lib GLEW... no
Plugin_VideoOGL must have glew to be build

i could have sworn i installed it via macports, i guess ill try again
Which version of Mac OS X do you have ? It seems that you have still 10.5.2 ?

1. Did you install latest Apple's XCode 3.1.3 ? This must be installed since it comes with gcc-4.2 (dolphin-svn compilation will not work with gcc-4.0 !)
If not download XCode freely (free registration required) and install it first from http://connect.apple.com

2. Did you install also libsdl 1.2.13 and nvidia cgtoolkit 2.2 for OS X?

3. Most people forget to update their Macports library. Upgrade and selfupdate Macports to the latest lib via the command:
#sudo port -v selfupdate

After that update your ports collection and dependencies via command:
#sudo port -vR upgrade libao cairo scons wxwidgets glew

please tell me if this works now for you...


(07-22-2009, 01:53 AM)bambam95 Wrote: [ -> ]I have just recently tried to build Dolphin in OS X, but I always tun into the same problem. When I get to the step where I have to type: sudo port install libao cairo scons wxwidgets glew, It says this:
Quote:---> Configuring libao
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libao/work/libao-0.8.8" && ./configure --prefix=/opt/local --disable-arts --disable-esd --disable-oss --disable-X " returned error 77
Command output: checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i386-apple-darwin9.2.1
checking host system type... i386-apple-darwin9.2.1
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

Error: Status 1 encountered during processing.

How do I fix this?
p.s. Either that or how do I get dolphin to stop asking for sysconf in wine??

sansnipple

ok, got it to compile and it sort of works, fullscreen mode doesnt work, and both pad plugins are broken, kb/x360 is totally broken and njoy refuses to see my wireless 360 controller, guess im stuck using bootcamp for now. as a side note, what dolphin really needs to become really playable is some sort of frameskip so that when your fps drops below a perfect 60 mario doesnt move in slow motion.
Managed to get Super Mario Sunshine running at last! I made a vid of it:

http://www.youtube.com/watch?v=jnAIMjF8Cu8
Have you guys had to modify many files in getting your build to work? As of revision 3869 I've had to make the following changes to get a build running:
M Source/Plugins/Plugin_DSP_LLE/Src/SConscript
M Source/Plugins/Plugin_VideoOGL/Src/main.cpp
M Source/Plugins/Plugin_Wiimote/Src/DataReports.cpp
M Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp
M Source/Core/Common/Src/FileUtil.cpp
M Source/Core/Common/Src/FileSearch.cpp
M Source/Core/DebuggerUICommon/Src/SConscript
M Source/Core/DolphinWX/Src/SConscript
M Source/Core/DolphinWX/Src/MainNoGUI.cpp
M Source/PluginSpecs/ExportProlog.h
M Externals/WiiUseSrc/Src/wiiboard.h
M SConstruct

This fixes things for finding plugins, and for compiling under nowx=true. I still get really crappy graphics on Super Mario Sunshine when compared to the youtube video that's floating around the forum. Are there any other changes people are making to there source for better OS X builds?
It's fairly simple to compile:
You need Apple's XCode 3.1.3 which comes with gcc-4.2. You need at least gcc-4.2 to compile the latest dolphin-svn which adds Atomic libraries (I can't remember if XCode 3.1.0 has gcc-4.2)

Then follow the compilation instructions here (Comment 8):
http://code.google.com/p/dolphin-emu/issues/detail?id=1141#c8

After compilation it can happen that "Dolphin" crashes (don't forget to configure via the Configuration UI the Plugins for OpenGL (graphics) and for the Pad: njoy 0.3 etc. (ZeldaWW and SMSunshine works with my old macally Gamepad)

If you enable Dulacore=true in your ~/Library/Application Support/Dolphin/User/Config/Dolphin.ini you will get about 60fps on SuperMarioSunshine or ZeldaWW (depends on your Mac and graphics-card of course)

hope this helps


(07-22-2009, 12:20 PM)schpatz Wrote: [ -> ]Have you guys had to modify many files in getting your build to work? As of revision 3869 I've had to make the following changes to get a build running:
M Source/Plugins/Plugin_DSP_LLE/Src/SConscript
M Source/Plugins/Plugin_VideoOGL/Src/main.cpp
M Source/Plugins/Plugin_Wiimote/Src/DataReports.cpp
M Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp
M Source/Core/Common/Src/FileUtil.cpp
M Source/Core/Common/Src/FileSearch.cpp
M Source/Core/DebuggerUICommon/Src/SConscript
M Source/Core/DolphinWX/Src/SConscript
M Source/Core/DolphinWX/Src/MainNoGUI.cpp
M Source/PluginSpecs/ExportProlog.h
M Externals/WiiUseSrc/Src/wiiboard.h
M SConstruct

This fixes things for finding plugins, and for compiling under nowx=true. I still get really crappy graphics on Super Mario Sunshine when compared to the youtube video that's floating around the forum. Are there any other changes people are making to there source for better OS X builds?

bambam95

(07-22-2009, 05:45 AM)gilcel Wrote: [ -> ]Which version of Mac OS X do you have ? It seems that you have still 10.5.2 ?

1. Did you install latest Apple's XCode 3.1.3 ? This must be installed since it comes with gcc-4.2 (dolphin-svn compilation will not work with gcc-4.0 !)
If not download XCode freely (free registration required) and install it first from http://connect.apple.com

2. Did you install also libsdl 1.2.13 and nvidia cgtoolkit 2.2 for OS X?

3. Most people forget to update their Macports library. Upgrade and selfupdate Macports to the latest lib via the command:
#sudo port -v selfupdate

After that update your ports collection and dependencies via command:
#sudo port -vR upgrade libao cairo scons wxwidgets glew

please tell me if this works now for you...


(07-22-2009, 01:53 AM)bambam95 Wrote: [ -> ]I have just recently tried to build Dolphin in OS X, but I always tun into the same problem. When I get to the step where I have to type: sudo port install libao cairo scons wxwidgets glew, It says this:
Quote:---> Configuring libao
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libao/work/libao-0.8.8" && ./configure --prefix=/opt/local --disable-arts --disable-esd --disable-oss --disable-X " returned error 77
Command output: checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i386-apple-darwin9.2.1
checking host system type... i386-apple-darwin9.2.1
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

Error: Status 1 encountered during processing.

How do I fix this?
p.s. Either that or how do I get dolphin to stop asking for sysconf in wine??

I thought I was running 10.5.7 but I was on 10.5.2. Thank You
@gilcel

I'm not having a problem compiling Dolphin. Actually, that works, and more to the point, I got the NoGui version compiling as well. The main problem I'm trying to overcome is the graphics issues. Looking at the YouTube video of someone running SMS on OS X, I figured there's got to be some way to improve my build.

I'm running 10.5.7, with the latest XCode.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12