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

MetalDragon

I tried to compile Dolphin on Snow Leopard 32bit yesterday, but got stuck at one point.

any idea what to do about it?
thanks!

scons wxconfig=/opt/local/bin/wx-config CC=gcc-4.2 CXX=g++-4.2
gives me this:
Quote:Undefined symbols:
"_alcCreateContext", referenced from:
OpenALStream::Start() in libaudiocommon.a(OpenALStream.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
"_alcGetContextsDevice", referenced from:
OpenALStream::Stop() in libaudiocommon.a(OpenALStream.o)
"_alcCloseDevice", referenced from:
OpenALStream::Stop() in libaudiocommon.a(OpenALStream.o)
OpenALStream::Start() in libaudiocommon.a(OpenALStream.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
"_alGetSourcei", referenced from:
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
"_alGenBuffers", referenced from:
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
"_alcDestroyContext", referenced from:
OpenALStream::Stop() in libaudiocommon.a(OpenALStream.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
"_alSourceQueueBuffers", referenced from:
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
"_alDeleteBuffers", referenced from:
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
"_alcMakeContextCurrent", referenced from:
OpenALStream::Stop() in libaudiocommon.a(OpenALStream.o)
OpenALStream::Start() in libaudiocommon.a(OpenALStream.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
"_alGetError", referenced from:
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
ALDeviceList::GetMaxNumSources() in libaudiocommon.a(aldlist.o)
ALDeviceList::GetMaxNumSources() in libaudiocommon.a(aldlist.o)
ALDeviceList::GetMaxNumSources() in libaudiocommon.a(aldlist.o)
"_alcIsExtensionPresent", referenced from:
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
"_alcOpenDevice", referenced from:
OpenALStream::Start() in libaudiocommon.a(OpenALStream.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
"_alcGetCurrentContext", referenced from:
OpenALStream::Stop() in libaudiocommon.a(OpenALStream.o)
"_alIsExtensionPresent", referenced from:
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
"_alSourcePlay", referenced from:
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
"_alSourcei", referenced from:
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
"_alcGetString", referenced from:
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
"_alSourceUnqueueBuffers", referenced from:
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
"_alGenSources", referenced from:
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
ALDeviceList::GetMaxNumSources() in libaudiocommon.a(aldlist.o)
"_alBufferData", referenced from:
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
"_alcGetIntegerv", referenced from:
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
ALDeviceList::ALDeviceList()in libaudiocommon.a(aldlist.o)
"_alDeleteSources", referenced from:
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
ALDeviceList::GetMaxNumSources() in libaudiocommon.a(aldlist.o)
ALDeviceList::GetMaxNumSources() in libaudiocommon.a(aldlist.o)
"_alSourceStop", referenced from:
OpenALStream::SoundLoop() in libaudiocommon.a(OpenALStream.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
scons: *** [Binary/Darwin-i386/Dolphin.app/Contents/PlugIns/libPlugin_DSP_HLE.dylib] Error 1
scons: building terminated because of errors.
Man alive I wish I could understand half of this Tongue So far I can only get good ol' Dolphin to work via Crossover (running some unofficial build, I think 4412). LoZ Twilight Princess, erm, works (for want of a better word, it runs at about 60-20% speed and seems to crash once in every different place I enter (e.g. ordon village, then the ranch, etc etc) and so does Animal Crossing (although once again slow, a frame skip of 1 makes it go at 100% though). The biggest problem with Crossover and Dolphin is that the D3D plugins (let alone the 64 bit version) don't work which makes Twilight princess run poorly. Hopefully Windwaker will run OKish with the opengl plugin Smile

(Comp stats for all interested: Mac Mini, 2 GHz Intel Core 2 Duo, 1GB RAM, Snow Leopard 10.6.1, Crossover 8.0. It's done well so far, I wonder though if that will be mirrored if I install windows via bootcamp?)

Is there a single, complete and independent .app bundle on the horizon or will we need to be patient a bit longer?

jo-shadow

I know this was mentioned before, but I get that same version message when I start dolphin:

"Reason: Incompatible library version: Dolphin requires version 7.0.0 or later, but libwx_macu-2.8.0.dylib provides version 6.0.0"

which was explained as such:

(05-26-2009, 06:59 AM)g-man_emu-gamer Wrote: [ -> ]I have the build working now, apparently when macports was updating dependancies it had failed to deactivate and uninstall the previous builds of those dependencies, after uninstalling all versions of those dependencies and reinstalling dolphin finally launched.

How would one go about uninstalling these dependencies and re-installing them?
(10-20-2009, 04:17 PM)jo-shadow Wrote: [ -> ]How would one go about uninstalling these dependencies and re-installing them?
Code:
sudo port uninstall portname(s)
then use
Code:
sudo port install portname(s)
to reinstall

You may also want to clean the port's build area before installing again
Code:
sudo port clean --all portname(s)
but it's not necessary.

jo-shadow

(10-21-2009, 02:44 PM)g-man_emu-gamer Wrote: [ -> ]
(10-20-2009, 04:17 PM)jo-shadow Wrote: [ -> ]How would one go about uninstalling these dependencies and re-installing them?
Code:
sudo port uninstall portname(s)
then use
Code:
sudo port install portname(s)
to reinstall

You may also want to clean the port's build area before installing again
Code:
sudo port clean --all portname(s)
but it's not necessary.

Hmm, noob question, but would the 'portname' in this case be "libwx_macu-2.8.0.dylib"?

Using that for unistal worked (or at least it didn't complain) but for clean and instal it then just said:
"Error: Port libwx_macu-2.8.0.dylib not found"
Quote:Hmm, noob question, but would the 'portname' in this case be "libwx_macu-2.8.0.dylib"?

Using that for unistal worked (or at least it didn't complain) but for clean and instal it then just said:
"Error: Port libwx_macu-2.8.0.dylib not found"

the ports name that contains that file is wxwidgets. Try the same process but with wxwidgets as the portname.
can anyone upload a wxwidgets pkg using macports on leopard, preferably a universal package. I have recently upgraded to snow leopard and wxwidgets cannot be compiled on snow leopard.

fred

Hi

I compile dolphin on snow leopard with the latest build and it's almost ok but i have big errors with some apple's frameworks :

In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:8,
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
from Source/Plugins/Plugin_VideoSoftware/Src/../../Plugin_VideoOGL/Src/cocoaGL.h:1,
from Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.h:55,
from Source/Plugins/Plugin_VideoSoftware/Src/HwRasterizer.h:24,
from Source/Plugins/Plugin_VideoSoftware/Src/DebugUtil.cpp:27:
/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:180: error: stray '@' in program
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6,
from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5,
from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10,
from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
from Source/Plugins/Plugin_VideoSoftware/Src/../../Plugin_VideoOGL/Src/cocoaGL.h:1,
from Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.h:55,
from Source/Plugins/Plugin_VideoSoftware/Src/HwRasterizer.h:24,
from Source/Plugins/Plugin_VideoSoftware/Src/DebugUtil.cpp:27:
/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h:8: error: stray '@' in program

ans so on ..

I think scons doesn't know how to include these objective C files ... how can i do that ?

Thanks !
===How to compile Dolphin-svn for Mac OS X 10.6.x Snow Leopard with Macport's wxWidgets 2.8.9===

1. Install Apple Developer Tools XCode 3.2.1. Download freely from http://connect.apple.com

2. You have the latest nvidia cgtoolkit installed from http://developer.download.nvidia.com/cg

3. If you have installed Macports before, I would suggest to uninstall the installed ports. See this page how to do it:

http://trac.macports.org/wiki/Migration


4. Download and install the latest Macports 1.8.2 for your Snow Leopard:

http://distfiles.macports.org/MacPorts/


5. *Snow Leopard users: this step is necessary to succesfully build and install wxWidgets 2.8.9 from macports.*

If you have Snow Leopard 10.6.x fire up your favorite editor (Textwrangler 3.1 is free :-) and add the line '+universal' to macports file /opt/local/etc/macports/variants.conf

Or you can add it via Terminal with this command:
{{{
# echo +universal | sudo tee -a /opt/local/etc/macports/variants.conf
}}}

6. Launch and update your Macports tree from Terminal:
{{{
# sudo port selfupdate
}}}

7. Install the required ports to compile Dolphin (this will take some time to compile)
{{{
# sudo port install wxwidgets libsdl cairo scons glew subversion
}}}

8. Checkout the latest dolphin-emu svn release to your Downloads directory, with subversion:
{{{
#/opt/local/bin/svn checkout http://dolphin-emu.googlecode.com/svn/trunk/ ~/Downloads/dolphin-emu-read-only
}}}

9. After it has finished to download the latest svn version, go to the directory and launch compilation with command 'scons'.
* In fact the 'scons' application (written in Python) reads the file SConstruct file to compile *
{{{
#scons verbose=yes
}}}

9b. You can even switch Open CL on with to get better performance:
{{{
#scons verbose=yes opencl=true
}}}

* By default Dolphin will build in 32bit mode. If your Snow Leopard Kernel is 64bit, which is not the case for most Snow Leopard users then you should compile with command.
{{{
#scons osx=64cocoa opencl=true
}}}


10. After succesful compilation launch the application Dolphin.app from the folder ~/Downloads/dolphin-emu-read-only/Binary/Darwin-i386/

* Notes *
Dolphin's config files are installed in your Home's folder > Library > Application Support > User
~/Library/Application Support/Dolphin/User

The most important config files are in the "Config" directory:
{{{
Dolphin.ini
DSP.ini
gfx_opengl.ini
}}}

Open them in your favorite editor (Textwrangler 3.1 is free ;-) and try the various parameters to tweak Dolphin.

Please let me know if something's wrong. Hope this helps ;-)

hahahaken

I am able to compile R5080 in 32bit with GUI in 10.6.2 successfully, but some of the buttons in the wiimote plugin can't be pressed and I have to change the settings in wiimote.ini. As they can't be pressed, I am not able to pair up or refresh the real wii remote, any solution to this?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12