[SDL] [MAC OS X, XCODE 2]Linker Problem

Thomas Schober schober.t at web.de
Tue Jul 18 11:36:32 PDT 2006


Hi,

1. My Frameworks have been downloaded a few days ago, becaus i thought the
errors could have been fixed.

2. No, just one Framework

3. My Frameworks are no universal binarys, just PPC.

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.

On 18.07.2006 7:41 Uhr, in article
3c7e3c8a0607172241u21c7db27l55606d4ec717dc8e at mail.gmail.com, "E. Wing"
<ewmailing at gmail.com> wrote:

> It's hard to say what's wrong from what's listed here. I am not able
> to reproduce your problem. Your build lines look generally correct,
> particularly -framework SDL -framework Cocoa -framework SDL_image. I
> don't know why there are quotes around yours though. My Xcode lines do
> not have the quotes.
> 
> Here are some things to check:
> 
> - Are both your SDL.framework and SDL_image.frameworks up-to-date? Are
> these the official ones or ones you built yourself?
> 
> - Do you have multiple framework versions installed (perhaps one in
> ~/Library/Frameworks and one in /Library/Frameworks). It could be that
> you're linking against the wrong ones.
> 
> - Are your frameworks Universal Binaries? It could be that only one
> architecture is present and when you try linking against the missing
> architecture, the symbols turn up missing. You can run lipo to find
> this info, e.g. 'lipo -info SDL.framework/SDL' to find the built
> archtectures.
> 
> You can also run nm to find if the symbols are present, e.g. 'nm
> SDL.framework/SDL | grep SDL_Error'
> 
> -Eric






More information about the SDL mailing list