- Joined
- Mar 27, 2007
- Messages
- 3
- Reaction score
- 1
- Points
- 3
- Your Mac's Specs
- MacBook 2Ghz Core2Duo
Hi,
Thought I'd have a bash at a bit of Carbon today, but Xcode keeps moaning. Ive made this simple program to print the current time.
Now, with ZeroLink on, i get this error at runtime.
ZeroLink: unknown symbol '_CFAbsoluteTimeGetCurrent'
Test has exited due to signal 6 (SIGABRT).
But with ZeroLink off, i get
Undefined symbols:
_CFAbsoluteTimeGetCurrent
at compile time...
I've obviously missed something, any help would be nice
Thought I'd have a bash at a bit of Carbon today, but Xcode keeps moaning. Ive made this simple program to print the current time.
Code:
#include <stdio.h>
#include <CoreFoundation/CoreFoundation.h>
int main (int argc, const char * argv[]) {
CFAbsoluteTime time;
time = CFAbsoluteTimeGetCurrent();
printf("%d", time);
return 0;
}
Now, with ZeroLink on, i get this error at runtime.
ZeroLink: unknown symbol '_CFAbsoluteTimeGetCurrent'
Test has exited due to signal 6 (SIGABRT).
But with ZeroLink off, i get
Undefined symbols:
_CFAbsoluteTimeGetCurrent
at compile time...
I've obviously missed something, any help would be nice