[SDL] OSX linking problem.
cuecax at gmail.com
Mon Jul 25 12:16:19 PDT 2011
I figured out that it is trying to link to some old dylib, the same problem as here:
and I messed a lot in the project... and now the x64 also doesnt build... [Laughing]
I still got linker errors and have no idea why, I already included all paths needed.
Maybe the best thing to do is just stop trying to link it staticaly and use the framework instead... this is driving me crazy =/
> I got the latest sdl from mercurial and built it as a fat static library for mac (x64, x86, ppc). without any modifications, except for folder paths.
> then I just paste a very simple test app from here:
> (I'm using the SDL cocoa application template as base)
> I can only build and run the x64 binary (with Build Active Archtecture Only checked) , when I try to run x86 and ppc versions it gives me these Warnings and a bunch of linker errors:
> ld: warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libSDL.dylib, file was built for unsupported file format which is not the architecture being linked (i386 (or ppc) )
> looks like xcode is trying to mess with the dylibs, even without the SDL.framework included, for some reason.
> I didn't do any architecture-specific configurations, what can i do to fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL