RE: Weak link [Solved]
RE: Weak link [Solved]
- Subject: RE: Weak link [Solved]
- From: "Chen Wang" <email@hidden>
- Date: Wed, 24 Oct 2007 18:23:52 -0400
- Thread-topic: Weak link [Solved]
Thanks, Greg. The down portion of your former post answeres the
question, so, the problem is solved by using up-to-date SDK (10.4u)
while setting MACOSX_DEPLOYMENT_TARGET to minimum compatible target Mac
OS X version (10.2). I also find out another reason why I was failed to
do so, because GetEventMonitorTarget() is from Carbon library, but I
forgot to add Carbon framework into my Cocoa project, and this
unfortunately resulted in very similar error message as weak link
failure.
>You'll probably have to remove your extern of GetEventMonitorTarget(),
and rely on
>the one defined in the header from 10.4u. If you have to extern a
symbol from the
>API yourself, then something is fundamentally wrong. Refer to the link
from my
>earlier post:
> <http://lists.apple.com/archives/xcode-users/2007/Oct/msg00305.html>
>When SDKROOT and MACOSX_DEPLOYMENT_TARGET are used properly, I've never
seen weak-
>link problems.
>Also be sure to double-check the scope of your settings: there is a
hierarchy, and
>it's easy to have forgotten a setting made at one level that overrides
a setting at
>another level.
Confidentiality Notice: E-mail may be intercepted between the sender and the receiver and is therefore neither secure nor confidential. Your continued use of e-mail communication confirms that you accept this risk. If this is an urgent matter, please contact me at the phone number provided. This e-mail, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient or this information has been inappropriately forwarded to you, please contact the sender by reply e-mail and destroy all copies of the original
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden