SDL Xcode installation problem

Nibbie
Posts: 4
Joined: 2009.11
Post: #1
Hello everybody. I'm quite new to this forum, but have had an annoying problem with installing and running SDL on my mac (Intel Snow Leopard) to use with Xcode.
After having installed it, I have received this problem:

http://img689.imageshack.us/img689/4825/...9at401.png

And these are the steps I took to install and run SDL prior to the above picture:

-latest version of Xcode installed after uninstalling previous version.
-downloaded SDL-1.2.14.dmg and SDL-devel-1.2.14-extras.dmg
-placed the SDL.frameworks into MacHD>Library>Frameworks
-from the dev extras, placed the SnowLeopard templates into MacHD>Library>Application Support>Developer>Shared>Xcode>Project Templates>Application
-I also put the documents into the specified Xcode doc section.
-once completed, I started xcode, opened new project, and selected SDL Application. Then (this was necessary for me) I switched the debug mode to 10.6, otherwise it would tell me I was lacking the 10.4 SDK (which I obviously dont have).
-I then built the program without making ANY changes to ANY of the files.
-All I got was the error in the above picture.

Well, I hope my installation/running explanation helped pinpoint the error.
I have had no other odd errors from xcode before.

Oh, the highlighted line in the picture was not on purpose. The whole picture is the problem... Smile
Quote this message in a reply
Member
Posts: 111
Joined: 2002.06
Post: #2
I had no build errors or warnings when building the standard SDL application project so I can't reproduce your error. One thing I noticed with the SDL application project is it sets the active architecture to 64-bit Intel (x86_64). You're getting a warning that the SDL framework doesn't have the x86_64 architecture. Set the active architecture to 32-bit Intel (i386) by choosing Project > Set Active Architecture > i386 and see if that fixes the error.

Mark Szymczyk
http://www.meandmark.com
Quote this message in a reply
Nibbie
Posts: 4
Joined: 2009.11
Post: #3
well, I tried that, and of course it didn't work (none of these things work for me... allegro...) Smile
I switched it to the archive i386 and it still said "SDL missing x38_64 required archive" or something like that.

Got any idea what is wrong with me or Xcode? Smile
By any chance, could it have been how I installed it? I didn't touch the frameworks, but for the templates, I chose the SnowLeopard files. Could that have affected it?
Quote this message in a reply
Member
Posts: 111
Joined: 2002.06
Post: #4
It sounds like you don't have the 64-bit version of SDL installed. I have no idea why SDL 1.2.14 doesn't have a 64-bit version for you. It does for me.

The first thing I would try is switching to the 10.5 SDK. If that doesn't work, I would download SDL again and install it over the previously installed version. If that doesn't work, post this question on SDL's forum or mailing list.

Mark Szymczyk
http://www.meandmark.com
Quote this message in a reply
Nibbie
Posts: 4
Joined: 2009.11
Post: #5
Are you saying the SDL.framework didn't install correctly (in theory?) Well, it is not installed, the SDL.frameworks folder just dragged into frameworks...
Quote this message in a reply
Member
Posts: 111
Joined: 2002.06
Post: #6
Install was a bad term to use because all you do is drag the SDL framework to /Library/Frameworks to install it. The warning you're getting says there isn't a 64-bit Intel SDL framework on your Mac. I don't know why you don't have a 64-bit Intel SDL framework on your Mac. That's why I suggested downloading it again and copying it to your Mac.

Mark Szymczyk
http://www.meandmark.com
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Big Xcode 2.0 Problem Taxxodium 1 2,694 May 6, 2005 12:13 PM
Last Post: AnotherJake