Re: Linking error on "release" build -- undefined symbols
Re: Linking error on "release" build -- undefined symbols
- Subject: Re: Linking error on "release" build -- undefined symbols
- From: Shawn Erickson <email@hidden>
- Date: Sat, 12 May 2007 07:59:17 -0700
On May 12, 2007, at 7:47 AM, Smith, Steven (MCP) wrote:
Hello Folks,
I'm trying to build my first application in Cocoa (ppc with
10.4.9).
Under the "Debug" configuration
my program runs fine. Under the "Release" I get the following
Building target "PicPreview" of project "PicPreview" with
configuration
"Release" -- (1 error)
Linking
/Users/Me/Projects/PicPreview/build/PicPreview.build/Release/
PicPreview.
build/Objects-normal/ppc/PicPireview (1 error)
Undefined symbols:
_MD5
_SHA1
[snip]
A) I don't know if this is the solution
A.1) If it IS the solution, can someone point me to the docs on
"adding
a lib" to my project
You are missing symbols which means you aren't linking against all of
the libraries you need and/or you missed implementing something (or
mistyped its name).
In Xcode select Xcode Help from the Help menu. In the window look at
the table of contents for the Xcode 2.3 User Guide and scroll down to
the Linking section. Then read the Linking With System Framework and
Linking to a Dynamic Library... sections. Also look at ZeroLink
section to understand why your Debug build (by default) doesn't list
the missing symbols.
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden