Re: weak linking woes
Re: weak linking woes
- Subject: Re: weak linking woes
- From: John Mikros <email@hidden>
- Date: Fri, 5 May 2006 18:30:17 -0700
Well, I never figured out why this was happening, but I solved my
problem by manually importing the dozen or so symbols I needed from
QuartzCore.
-john
On May 3, 2006, at 9:05 PM, John Mikros wrote:
I'm trying to link to a framework that may or may not exist
depending on whether QuickTime 7 is installed specifically,
QuartzCore.framework.
I was hoping that AvailabilityMacros would be enough for things to
just work. It's not; dyld complains that it can't find the
library. I found the documentation stating that I need to move
QuartzCore.framework out of the "Link Binary With Libraries" build
phase and into "Other Linker Flags": OTHER_LDFLAGS = -
weak_framework QuartzCore. Great, the app launches on 10.3.9
without QuartzCore installed.
However, when execution reaches the first Cocoa call (specifically,
[[NSAutoreleasePool alloc] init]), the app blows up, when running
under 10.3.9. If I take out all references to any QuartzCore
routines, my Cocoa calls work fine.
Anyone have any ideas what may be going on?
thanks
-john
_______________________________________________
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