[Openmcl-devel] Problems trying to create CDB files for the Addressbook framework

Gary King gwking at metabang.com
Wed May 10 03:12:49 UTC 2006


OK. I got this to work using the following. I'd still be interested  
to know how to get this to work just using the AddressBook.h file (I  
did try adding -D__OBJC__ to the h-to-ffi command but that didn't do  
it).

> #!/bin/sh
> # h-to-ffi.sh -D__OBJC__ /System/Library/Frameworks/ 
> AddressBook.framework/Headers/AddressBook.h
>
> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
> Headers/ABTypedefs.h
> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
> Headers/ABGlobals.h
> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
> Headers/ABAddressBook.h
> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
> Headers/ABRecord.h
> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
> Headers/ABGroup.h
> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
> Headers/ABPerson.h
> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
> Headers/ABImageLoading.h
> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
> Headers/ABSearchElement.h
> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/ 
> Headers/ABMultiValue.h



On May 9, 2006, at 11:09 PM, Gary King wrote:

> I should mention that I can run the populate.sh program in other  
> framework directories (e.g., webkit).
>
> On May 9, 2006, at 10:52 PM, Gary King wrote:
>
>> I'm trying to create CDB files for the addressbook framework but I'm
>> not succeeding. I've made a sub-directory of darwin-headers named
>> addressbook and put a sub-directory named C under that with the
>> following populate.h in it:
>>
>>> #!/bin/sh
>>> h-to-ffi.sh -D__OBJC__ /System/Library/Frameworks/
>>> AddressBook.framework/Headers/AddressBook.h
>>
>> I've also tried this one:
>>
>>> #!/bin/sh
>>>
>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/
>>> Headers/ABTypedefs.h
>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/
>>> Headers/ABGlobalsC.h
>>> h-to-ffi.sh /System/Library/Frameworks/AddressBook.framework/
>>> Headers/ABAddressBookC.h
>>>
>>
>> In either case, I get errors like:
>>
>>> +++ /System/Library/Frameworks/AddressBook.framework/Headers/
>>> ABTypedefs.h
>>> : No such file or directoryary/Frameworks/AddressBook.framework/
>>> Headers/ABTypedefs.h
>>> +++ /System/Library/Frameworks/AddressBook.framework/Headers/
>>> ABGlobalsC.h
>>> : No such file or directoryary/Frameworks/AddressBook.framework/
>>> Headers/ABGlobalsC.h
>>> +++ /System/Library/Frameworks/AddressBook.framework/Headers/
>>> ABAddressBookC.h
>>> : No such file or directoryary/Frameworks/AddressBook.framework/
>>> Headers/ABAddressBookC.h
>>> [
>>
>> But trying "ls System/Library/Frameworks/AddressBook.framework/
>> Headers/ABGlobalsC.h" works fine.
>>
>> Can anyone tell me what I'm missing?
>>
>> thanks,
>> -- 
>> Gary Warren King
>> metabang.com
>> http://www.metabang.com/
>> (413) 210 7511
>> gwking on #lisp (occasionally)
>>
>>
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> http://clozure.com/mailman/listinfo/openmcl-devel
>
>
> -- 
> Gary Warren King
> metabang.com
> http://www.metabang.com/
> (413) 210 7511
> gwking on #lisp (occasionally)
>
>


-- 
Gary Warren King
metabang.com
http://www.metabang.com/
(413) 210 7511
gwking on #lisp (occasionally)





More information about the Openmcl-devel mailing list