Hotkey linker problem
Hotkey linker problem
- Subject: Hotkey linker problem
- From: Bill Cheeseman <email@hidden>
- Date: Wed, 12 Mar 2003 19:55:01 -0500
I'm trying to implement the newly Cocoa-compliant Carbon hotkey API in my
Cocoa application, but I'm getting a linker error.
Specifically, this is the linker error:
ld: /Users/cheeseb/Documents/Cocoa Development Builds/UI Browser.build/UI
Browser.build/Objects-normal/ppc/PFBrowserController.o illegal reference to
symbol: _GetApplicationEventTarget defined in indirectly referenced dynamic
library
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.
framework/Versions/A/HIToolbox
I don't get it. Is there anything I can do to get past this?
I don't understand why the linker thinks my reference to
GetApplicationEventTarget() is indirectly referenced. All I did is #import
<Carbon/Carbon.h>.
I do have an embedded framework in my app. But I don't think it has anything
to do with this issue.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.