SDL, MacOSX, Universal Apps, Problem!
Ok so Im nearly finished with my Tetris game in SDL. Ive been working with XCode and Mac OS X on an Intel iMac to make this game. My problem comes from the fact that the app will not compile as a universal binary. It only compiles to Intel even though I tell it to compile ppc and i386. Im using the latest SDL Framework and latest SDL_Mixer framework.
[Edited by - Cubed3 on April 15, 2006 12:51:22 PM]
Open your project in XCode, and 'Get Info' on the project itself (not the target, so the topmost entry in 'groups and files'). Somewhere in the Get Info window is a dropdown menu labeled 'Target SDK' or similar, and change this to '10.4 Universal' (something like that anyway, not at my Mac this minute), and that should do the trick.
Of course, this pre-supposes that you installed the Universal SDK when you installed the devel tools [smile]
Of course, this pre-supposes that you installed the Universal SDK when you installed the devel tools [smile]
Let me know if that worked for you, it now seems it doesn't work on my ppc Mac [grin]
Also check if the SDL frameworks you are linking against are universal binaries, might not work if they are x86 only.
Also check if the SDL frameworks you are linking against are universal binaries, might not work if they are x86 only.
Yah both my SDL and SDL_mixer are universal binaries however it doesn't want to make my game universal >_<
You might want to dig through Apple's documentation on the topic, I don't have time right now, but I would be interested in hearing how it is done.
I've never tried to create a universal binary, but I thought it was just as simple as going to "Get Info" on the project file, and under the General Tab, setting the target platform as 10.4 Universal.
What do you mean it "compiles to Intel" even though you tell it to compile "ppc and i386." Are two binaries supposed to show up? I thought for some reason only one binary showed up, which could run on either platform.
I dunno. I haven't read up much on it.
What do you mean it "compiles to Intel" even though you tell it to compile "ppc and i386." Are two binaries supposed to show up? I thought for some reason only one binary showed up, which could run on either platform.
I dunno. I haven't read up much on it.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement