Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem linking framework in Xcode project



Hello,

I'm new to both Mac and SDL.  I know this isn't an SDL list, so I'll try to keep my question more on topic with Xcode.
I'm trying to create a SDL_gfx (an SDL app) framework for another project. I get as
far as linking at which point I get the "internal link edit command
failed" error.

Undefined symbols:
_SDL_Delay
_SDL_GetTicks
_SDL_CreateRGBSurface
_SDL_FreeSurface
_SDL_LockSurface
_SDL_MapRGB
_SDL_MapRGBA
_SDL_SetAlpha
_SDL_UnlockSurface
_SDL_UpperBlit
_SDL_SetColorKey


In my Xcode project, I've simply taken all the .c/.h files and added them,
along with the reference to the SDL framework.  The SDL framework is in /System/Library/Frameworks.  Xcode MUST see it because it compiles successfully with the SDL headers.  Also, I've seen similar posts regarding link errors of this nature, but everything I've found doesn't seem to work.
 
Any help is greatly appreciated!

Thanks,

Ryan
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.