Okay, let’s ignore the warnings for now and come back to those later.
The errors mean that the linking process can’t find the symbols to the
external libraries like SDL_mixer. This probably means you forgot to
add these libraries to your project.
To do that, in the Groups & Files pane (left side of Xcode), look for
a group called Frameworks or External Frameworks or something similar.
Open up the group and sometimes you see sub groups like Linked
Frameworks.
If you are using a typical template, you will usually see
Cocoa.framework in there. If you are using our template, you will also
see SDL.framework.
You need to add the other SDL satellite frameworks you are using (e.g.
SDL_mixer, SDL_net, SDL_image, SDL_ttf).
Right click (or control-click) on that group containing the Cocoa and
SDL.frameworks, and select Add->Existing Frameworks. You should see a
list of lots of frameworks including the missing SDL satellite
frameworks assuming you already installed them to /Library/Frameworks.
If you don’t see them, you may need to try the Add Other button and
navigate directly to /Library/Frameworks.
Once you selected all the frameworks, you might be prompted which
targets to add (link) the frameworks to. Your application should be
checked. (I’ll assume you only have one application to build in your
Xcode project.)
Once you hit ok, you should be ready to build. Just build and
hopefully the link errors will go away.
-EricOn 7/15/10, Jesse Palser wrote:
Hi,
Thank you for responding to my post.
Here is the complete build log:
Any help would be appreciated!
Thanks!
Jesse
16BitSoft®
Video Game Design Studio
www.16BitSoft.com
On 07/14/2010 07:12 PM, Eric Wing wrote:
Your screenshot only shows the build warnings, not the errors.
The warnings are strange. It looks like you added source files to your
link stage?
On 7/13/10, JeZ-l-Lee wrote:
Hi,
I’ve gotten farther, but still am having problems with linking my SDL
game.
Please look at this screenshot of link errors on Mac OS X Xcode:
http://16bitsoft.com/images/beta/LF2-Mac-OS-X-Errors.png
Hope someone can help me!
JeZ+Lee
JessePalser Gmail com
16BitSoft®
Video Game Design Studio
www.16BitSoft.com
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org