Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link errors against _HIShapeContainsPoint



On 08-04-28, at 12:05, Rick Mann wrote:

I'm suddenly unable to link my project, and I'm fairly certain nothing has changed, other than a new Xcode.

   cd /Users/rmann/LZRepo/SatTrackX/branches/CarbonNanoVersion/xcode
   /Developer/usr/bin/g++-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/rmann/LZRepo/SatTrackX/branches/CarbonNanoVersion/xcode/build/Debug -L/Developer/Nano/NanoSVN/Library/Project/build/Debug -F/Users/rmann/LZRepo/SatTrackX/branches/CarbonNanoVersion/xcode/build/Debug -filelist /Users/rmann/LZRepo/SatTrackX/branches/CarbonNanoVersion/xcode/build/SatTrackX.build/Debug/SatTrackX.build/Objects-normal/i386/SatTrackX.LinkFileList -mmacosx-version-min=10.4 /Developer/Nano/NanoSVN/Library/Project/build/Debug/libNano.a -framework Carbon -framework QuickTime -framework Cocoa -framework Accelerate -framework Security -framework SystemConfiguration -framework WebKit -o /Users/rmann/LZRepo/SatTrackX/branches/CarbonNanoVersion/xcode/build/SatTrackX.build/Debug/SatTrackX.build/Objects-normal/i386/SatTrackX
Undefined symbols:
 "_HIShapeContainsPoint", referenced from:
     NHIView::TrackingHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)  in libNano.a(NHIView.o)
 "_HIShapeCreateWithRect", referenced from:
     NDockTile::DrawBadge(NHIView*, CGRect const&)in libNano.a(NDockTile.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
 "_HIShapeContainsPoint", referenced from:
     NHIView::TrackingHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)  in libNano.a(NHIView.o)
 "_HIShapeCreateWithRect", referenced from:
     NDockTile::DrawBadge(NHIView*, CGRect const&)in libNano.a(NDockTile.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

Any suggestions?

In 10.4 HIShape is located in Carbon.framework proper. In 10.5, HIShape is located in ApplicationServices.framework. So, it's a problem when using the 10.5 SDK but targeting 10.4. Same thing with some AppleEvent stuff and a few of the new typedefs in Files.h.

I would try adding a -framework ApplicationServices to the linker options.

I see these calls are being made from Nano so maybe things won't be so simple…


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Sent from my SE/30

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Link errors against _HIShapeContainsPoint (From: Rick Mann <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.