Re: Weak link
Re: Weak link
- Subject: Re: Weak link
- From: Greg Guerin <email@hidden>
- Date: Wed, 24 Oct 2007 13:19:02 -0700
Chen Wang wrote:
>Hi Greg, the project is built against to MacOSX10.2.8.sdk. I've also
>tried with 10.4u.sdk (for project and target), and keep
>MACOSX_DEPLOYMENT_TARGET=10.2, but I still get "Undefined symbols" link
>error in XCode. I think I just missed some basic issues.
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.
-- GG
_______________________________________________
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