Opened 13 years ago

Closed 13 years ago

#263 closed defect (fixed)

Frameworks (whole FFI thing) are pain to use

Reported by: asdasd Owned by: gb
Priority: minor Milestone:
Component: Foreign Function Interface Version:
Keywords: Cc:


I'd be grateful if you made LISP beginners' (like me) life easier by distributing all neccessary .cdb files or whatever is needed to use Cocoa classes.

I've tried to use OS X AddressBook and unfortunately found that it is much harder than I anticipated.

Tutorial on Trac Wiki is very nice, but it does not mention how to load frameworks. It's hard to find requred information in the documentation unless one knows what to look for.

After entire evening of goolging I've collected dozen of code snippets that do not work, and managed to generate FFI files which need yet another tool to process and more lisp voodoo :(

Change History (2)

comment:1 Changed 13 years ago by rme

We're trying to make the documentation and the distribution process better.

The trunk CCL includes the .cdb files suitable for the Address Book framework. You can check out the trunk with

svn co

If you don't want to use the trunk, you can still check out a copy and just copy over the .cdb files to ccl:darwin-x86-headers64/addressbook. (If you're on PPC, the files should already be there.)

See for a quickie Address Book example that I just threw together.

comment:2 Changed 13 years ago by asdasd

  • Resolution set to fixed
  • Status changed from new to closed

Excellent! It works. Thank you very much.

Note: See TracTickets for help on using tickets.