[SDL] [MAC OS X, XCODE 2]Linker Problem
E. Wing
ewmailing at gmail.com
Tue Jul 18 12:04:30 PDT 2006
> 1. My Frameworks have been downloaded a few days ago, becaus i thought the
> errors could have been fixed.
> 3. My Frameworks are no universal binarys, just PPC.
All the frameworks from the official site are built as Universal
Binaries so I don't know where you downloaded yours from.
> 4. nm SDL.framework/SDL | grep SDL_Error gives me this output :
> 30025cbc t _SDL_Error
> I try to solve this problem a long time now, most of the time i used
> makefiles again, because they work better. I don't have any Idea whats wrong
> with xcode.
This is very telling. The lowercase 't' means that the symbol is not
globally exported so it won't be visible from a dynamic library. It
should be an uppercase 'T'. I'm surprised a Makefile works because
this should be a low-level problem that transcends the build system
(Xcode/Make). I consider your framework suspect and don't think you
should be using it at all.
I just downloaded the SDL.framework from the website. Running nm (on
my PPC machine) yields:
3002a89c T _SDL_Error
Note the uppercase 'T'. You should probably download the official
1.2.11 framework and use that one instead.
http://www.libsdl.org/download-1.2.php
http://www.libsdl.org/release/SDL-1.2.11.dmg
-Eric
More information about the SDL
mailing list