Uuid on mac


#1

Hi all,
I’m trying to use the Uuid class in my project.

I’ve added the IOKit.framework to my project but I have errors.

My project is based on the juceAudioPluginDemo
I have noticed that this framework is present in the jucedemo project but not in the juceAudioPlugin project and it is not compiling if the framework IOKit is added in it.

my errors:
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:61,
In file included from /usr/include/sys/acl.h:26,
/usr/include/sys/kauth.h:233: error: `user_addr_t’ was not declared in this scope

/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h:101: error: ‘mach_vm_address_t’ is used as a type, but is not defined as a type.
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h:102: error: ‘mach_vm_size_t’ is used as a type, but is not defined as a type.

I am trying to solve that for a while
Any Idea?
Am I missing something obvious?

Thanks


#2

the juce demo uses IOKit, so that’s not the problem. I guess you must have some kind of path set up wrongly. None of the stuff you quote here actually seems to involve any juce code though…?


#3

oh yeah, i was importing the IOKit from the SDKs 10.4 folder (i’m new to macs)

Sorry about that Jules
Cheers


#4