Question

I am having a difficult time linking to the Carbon HIToolbox framework in a (non-cocoa) C++ application. I am able to link to IOKit, Carbon, and ApplicationServices without any problems:

... -framework IOKit -framework Carbon -framework ApplicationServices ...

However, I have tried adding HIToolbox as a framework to the linker options:

-framework HIToolbox => ld: framework not found HIToolbox

Also, suspecting that the library might be part of the Carbon framework itself, I tried declaring an external function from the HIToolbox:

extern UInt32 GetDblTime(void); => Undefined symbol...

Xcode doesn't seem to be able to find any headers for HIToolbox either.

What am I missing?

Note: I'm using Xcode 5 on OS X 10.9

Was it helpful?

Solution

Apparently HIToolbox has been deprecated and is not available for 64-bit applications.

https://devforums.apple.com/message/944767#944767

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top