[Openmcl-devel] (ccl:create-interfaces :quartzcore) how-to?

Gary Byers gb at clozure.com
Wed Nov 14 14:01:14 PST 2007


It works fine for me, using

<ftp://clozure.com/pub/testing/ffigen-apple-gcc-5465-x86-64-2007-11-06-00-00-59.tar.gz>

and the ccl/darwin-x86-headers64/quartzcore/C/populate.sh that's been in
CVS/svn for the last week or so.

(The confusion about "final" ObjC2 syntax was typical of the way that
the older/interim interface translator failed on recent Leopard headers;
the ffigen above was built from the sources to the version of GCC that
ships with Leopard/XCode 3.)

On Wed, 14 Nov 2007, Raffael Cavallaro wrote:

> What would it take to get this to work?
>
> rafbookpro:ccl raffaelc$ sudo openmcl
> Welcome to Clozure Common Lisp Version 1.1-r7641 (DarwinX8664)!
> ? (ccl:create-interfaces :quartzcore)
> ;[Running interface translator via #P"ccl:darwin-x86-
> headers64;quartzcore;C;populate.sh.newest" to produce .ffi file(s)
> from headers]
> +++ /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/
> QuartzCore.framework/Headers/QuartzCore.h
> In file included from /Developer/SDKs/MacOSX10.5.sdk/System/Library/
> Frameworks/QuartzCore.framework/Headers/CALayer.h:6,
>                  from /Developer/SDKs/MacOSX10.5.sdk/System/Library/
> Frameworks/QuartzCore.framework/Headers/CAAnimation.h:6,
>                  from /Developer/SDKs/MacOSX10.5.sdk/System/Library/
> Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:13,
>                  from /Developer/SDKs/MacOSX10.5.sdk/System/Library/
> Frameworks/QuartzCore.framework/Headers/QuartzCore.h:8:
> /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/
> QuartzCore.framework/Headers/CAMediaTiming.h:72: error: syntax error
> before ‘copy’
> In file included from /Developer/SDKs/MacOSX10.5.sdk/System/Library/
> Frameworks/QuartzCore.framework/Headers/CAAnimation.h:6,
>                  from /Developer/SDKs/MacOSX10.5.sdk/System/Library/
> Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:13,
>                  from /Developer/SDKs/MacOSX10.5.sdk/System/Library/
> Frameworks/QuartzCore.framework/Headers/QuartzCore.h:8:
> /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/
> QuartzCore.framework/Headers/CALayer.h:197: error: syntax error before
> ‘copy’
> /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/
> QuartzCore.framework/Headers/CALayer.h:202: fatal error: method
> definition not in @implementation context
> compilation terminated.
> NIL
> ?
>
> regards,
>
> Ralph
>
>
> Raffael Cavallaro, Ph.D.
> raffaelcavallaro at mac.com
>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>


More information about the Openmcl-devel mailing list