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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 1027 1028 1029 1030 1031 ... 1197 Next »

OSX Compilation
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
OSX Compilation
06-04-2010, 02:28 PM
#1
M0000000000
Unregistered
 
I've been able to get to all the steps without much of a problem until I got to the compilation. When it gets to the building targets, I get the following error:

Code:
scons: Building targets ...
Linking shared Binary/Darwin-i386/Dolphin.app/Contents/PlugIns/libPlugin_GCPad.dylib
ld: warning: in /opt/local/lib/libSDLmain.a, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libSDL.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols:
  "_SDL_GetError", referenced from:
      InputCommon::SearchDevices(std::vector<InputCommon::CONTROLLER_INFO, std::allocator<InputCommon::CONTROLLER_INFO> >&, int&, int&)in libinputcommon.a(SDL_Util.o)
  "_SDL_JoystickClose", referenced from:
      Close_Devices()     in GCPad.os
  "_SDL_JoystickNumHats", referenced from:
      InputCommon::SearchDevices(std::vector<InputCommon::CONTROLLER_INFO, std::allocator<InputCommon::CONTROLLER_INFO> >&, int&, int&)in libinputcommon.a(SDL_Util.o)
  "_SDL_JoystickName", referenced from:
      InputCommon::SearchDevices(std::vector<InputCommon::CONTROLLER_INFO, std::allocator<InputCommon::CONTROLLER_INFO> >&, int&, int&)in libinputcommon.a(SDL_Util.o)
  "_SDL_JoystickGetButton", referenced from:
      IsKey(int) in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      InputCommon::GetButton(_SDL_Joystick*, int, int, int, int, int&, int&, int&, int&, bool&, bool&, bool, bool, bool, bool, bool, bool)in libinputcommon.a(SDL_Util.o)
      InputCommon::GetButton(_SDL_Joystick*, int, int, int, int, int&, int&, int&, int&, bool&, bool&, bool, bool, bool, bool, bool, bool)in libinputcommon.a(SDL_Util.o)
  "_SDL_JoystickUpdate", referenced from:
      GetAxisState(CONTROLLER_MAPPING_GC&)      in GCPad.os
      InputCommon::GetButton(_SDL_Joystick*, int, int, int, int, int&, int&, int&, int&, bool&, bool&, bool, bool, bool, bool, bool, bool)in libinputcommon.a(SDL_Util.o)
  "_SDL_JoystickGetHat", referenced from:
      IsKey(int) in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      _PAD_GetStatus in GCPad.os
      InputCommon::GetButton(_SDL_Joystick*, int, int, int, int, int&, int&, int&, int&, bool&, bool&, bool, bool, bool, bool, bool, bool)in libinputcommon.a(SDL_Util.o)
  "_SDL_JoystickOpened", referenced from:
      Close_Devices()     in GCPad.os
  "_SDL_JoystickOpen", referenced from:
      InputCommon::SearchDevices(std::vector<InputCommon::CONTROLLER_INFO, std::allocator<InputCommon::CONTROLLER_INFO> >&, int&, int&)in libinputcommon.a(SDL_Util.o)
  "_SDL_JoystickGetAxis", referenced from:
      GetAxisState(CONTROLLER_MAPPING_GC&)      in GCPad.os
      GetAxisState(CONTROLLER_MAPPING_GC&)      in GCPad.os
      GetAxisState(CONTROLLER_MAPPING_GC&)      in GCPad.os
      GetAxisState(CONTROLLER_MAPPING_GC&)      in GCPad.os
      GetAxisState(CONTROLLER_MAPPING_GC&)      in GCPad.os
      GetAxisState(CONTROLLER_MAPPING_GC&)      in GCPad.os
      InputCommon::GetButton(_SDL_Joystick*, int, int, int, int, int&, int&, int&, int&, bool&, bool&, bool, bool, bool, bool, bool, bool)in libinputcommon.a(SDL_Util.o)
      InputCommon::GetButton(_SDL_Joystick*, int, int, int, int, int&, int&, int&, int&, bool&, bool&, bool, bool, bool, bool, bool, bool)in libinputcommon.a(SDL_Util.o)
      InputCommon::GetButton(_SDL_Joystick*, int, int, int, int, int&, int&, int&, int&, bool&, bool&, bool, bool, bool, bool, bool, bool)in libinputcommon.a(SDL_Util.o)
      InputCommon::GetButton(_SDL_Joystick*, int, int, int, int, int&, int&, int&, int&, bool&, bool&, bool, bool, bool, bool, bool, bool)in libinputcommon.a(SDL_Util.o)
  "_SDL_Quit", referenced from:
      _Shutdown in GCPad.os
  "_SDL_WasInit", referenced from:
      Close_Devices()     in GCPad.os
      _Shutdown in GCPad.os
      InputCommon::SearchDevices(std::vector<InputCommon::CONTROLLER_INFO, std::allocator<InputCommon::CONTROLLER_INFO> >&, int&, int&)in libinputcommon.a(SDL_Util.o)
  "_SDL_Init", referenced from:
      InputCommon::SearchDevices(std::vector<InputCommon::CONTROLLER_INFO, std::allocator<InputCommon::CONTROLLER_INFO> >&, int&, int&)in libinputcommon.a(SDL_Util.o)
  "_SDL_NumJoysticks", referenced from:
      InputCommon::SearchDevices(std::vector<InputCommon::CONTROLLER_INFO, std::allocator<InputCommon::CONTROLLER_INFO> >&, int&, int&)in libinputcommon.a(SDL_Util.o)
  "_SDL_JoystickNumAxes", referenced from:
      InputCommon::SearchDevices(std::vector<InputCommon::CONTROLLER_INFO, std::allocator<InputCommon::CONTROLLER_INFO> >&, int&, int&)in libinputcommon.a(SDL_Util.o)
  "_SDL_JoystickNumButtons", referenced from:
      InputCommon::SearchDevices(std::vector<InputCommon::CONTROLLER_INFO, std::allocator<InputCommon::CONTROLLER_INFO> >&, int&, int&)in libinputcommon.a(SDL_Util.o)
  "_SDL_JoystickNumBalls", referenced from:
      InputCommon::SearchDevices(std::vector<InputCommon::CONTROLLER_INFO, std::allocator<InputCommon::CONTROLLER_INFO> >&, int&, int&)in libinputcommon.a(SDL_Util.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccCs9kmu.out (No such file or directory)
scons: *** [Binary/Darwin-i386/Dolphin.app/Contents/PlugIns/libPlugin_GCPad.dylib] Error 1
scons: building terminated because of errors.

any tips?
thanks

Oh,
I'm using snow leopard 10.6.3 on a macbook pro
this is rev. 5598
Reply
06-05-2010, 01:43 PM
#2
shawnanastasio Offline
Dolphin's Mac Expert!
****
Posts: 608
Threads: 54
Joined: Apr 2009
did you compile the deps from the wiki page?

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
Reply
06-05-2010, 02:05 PM (This post was last modified: 06-05-2010, 02:09 PM by James333.)
#3
James333 Offline
Above and Beyond
*******
Posts: 1,520
Threads: 8
Joined: Jul 2009
I had the same problem, you need to install SDL using macports with the following command:
Code:
sudo port install libsdl +universal

I tried to use the SDL source code to compile SDL in the proper architecture but I couldn't.

If you are still having problems with other libraries use this command:
Code:
sudo port install glew +universal libsdl +universal zlib +universal
MB : MSI Z68A-GD80
CPU : Intel Core i7 2600k @ 3.4 GHz (stock clock)
Gfx : ATI Raedon HD 6850
Ram : 4 GB DDR3-1333
OS : Windows XP x86

I speak Spanish Big Grin ( And a little English )
Find
Reply
« 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