Re: AbsoluteToNanoseconds deprecated - so use what instead?
Re: AbsoluteToNanoseconds deprecated - so use what instead?
- Subject: Re: AbsoluteToNanoseconds deprecated - so use what instead?
- From: Jean Suisse <email@hidden>
- Date: Tue, 11 Sep 2012 11:47:39 +0200
There's a similar discussion on the Xcode users list from Gerriet M. Denkmann. I post it here in the hope it contains relevant additional informations.
>> On 11 sept. 2012, at 11:15, Gerriet M. Denkmann wrote:
>>
>>> I added the Kernel framework to my project, and now the linker says:
>>>
>>> ld: framework not found Kernel
>>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
>>>
>>> The linker command is kind of long, but it ends with:
>>> -mmacosx-version-min=10.7 -fobjc-arc -fobjc-link-runtime -framework Kernel -framework IOKit -framework Cocoa -o <...some very long name...>
>>>
>>> So: where is my Kernel framework?
>>> What am I doing wrong?
>>>
>>> 10.8.1; Xcode 4.4.1
>>>
>>> Gerriet.
>>>
>>> P.S. and how to access the headers?
>>>
>>> #import <Kernel/Kernel.h> does not work: file not found.
>>> #import <Kernel/kern/clock.h> gets found, but it contains a reference to <kern/kern_types.h> which is again NOT found.
>
On 11 sept. 2012, at 11:41, Quinn The Eskimo! wrote:
>
> On 11 Sep 2012, at 10:38, Phil Jordan <email@hidden> wrote:
>
>> Hmm, this is a kext target, right?
>
> If not (that is, you're doing this from user space) you should use mach_timebase_info, as shown in QA1398 "Mach Absolute Time Units".
>
> <http://developer.apple.com/library/mac/#qa/qa1398/_index.html>
>
> Share and Enjoy
> --
> Quinn "The Eskimo!" <http://www.apple.com/developer/>
> Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden