Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
SDL & Xcode problem
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jimz" data-source="post: 805802" data-attributes="member: 54435"><p>Hi,</p><p></p><p>I'm using osx 10.4.11, Xcode 2.2.1</p><p></p><p>I've downloaded:</p><p>SDL-1.2.13.dmg</p><p>SDL-devel-1.2.13-extras.dmg</p><p></p><p>from here:</p><p><a href="http://www.libsdl.org/download-1.2.php" target="_blank">Simple DirectMedia Layer</a></p><p></p><p>I followed the instructions in the readme in SDL-1.2.13.dmg and copied the framework to:</p><p></p><p>/Library/Frameworks and then also to User/Library/Frameworks when it wasn't working</p><p></p><p>I then copied the contents of templatesforxcode in to SDL-devel-1.2.13-extras.dmg /Library/Application Support/Apple/Developer Tools/Project Templates/Appllcation and they are showing up when I create a new project in xcode</p><p></p><p>Whenever I try to compile, using any of the sdl templates, I get this error:</p><p></p><p>Command /usr/bin/gcc-4.0 failed with exit code 1</p><p>/Library/Frameworks/SDL.framework/SDL load command 6 unknown cmd field</p><p></p><p>So, I'm guessing it's finding the framework, but what does that error mean? And how do I fix it?</p><p></p><p>Thanks,</p><p></p><p>Jim.</p></blockquote><p></p>
[QUOTE="jimz, post: 805802, member: 54435"] Hi, I'm using osx 10.4.11, Xcode 2.2.1 I've downloaded: SDL-1.2.13.dmg SDL-devel-1.2.13-extras.dmg from here: [url=http://www.libsdl.org/download-1.2.php]Simple DirectMedia Layer[/url] I followed the instructions in the readme in SDL-1.2.13.dmg and copied the framework to: /Library/Frameworks and then also to User/Library/Frameworks when it wasn't working I then copied the contents of templatesforxcode in to SDL-devel-1.2.13-extras.dmg /Library/Application Support/Apple/Developer Tools/Project Templates/Appllcation and they are showing up when I create a new project in xcode Whenever I try to compile, using any of the sdl templates, I get this error: Command /usr/bin/gcc-4.0 failed with exit code 1 /Library/Frameworks/SDL.framework/SDL load command 6 unknown cmd field So, I'm guessing it's finding the framework, but what does that error mean? And how do I fix it? Thanks, Jim. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
SDL & Xcode problem
Top