Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Development and Darwin (http://www.mac-forums.com/forums/os-x-development-darwin/)
-   -   SDL & Xcode problem (http://www.mac-forums.com/forums/os-x-development-darwin/141825-sdl-xcode-problem.html)

jimz 02-17-2009 01:03 AM

SDL & Xcode problem
 
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:
Simple DirectMedia Layer

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.


All times are GMT -4. The time now is 05:20 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.