[Openmcl-devel] Quartz not working in v1.10

R. Matthew Emerson rme at clozure.com
Mon Nov 3 18:26:03 PST 2014


On Nov 3, 2014, at 1:44 PM, Ron Garret <ron at flownet.com> wrote:

> This works in in 1.9:
> 
> Welcome to Clozure Common Lisp Version 1.9-r16286M  (DarwinX8664)!
> ? (objc:load-framework "Quartz" :quartz)
> NIL
> ? #'#/pageAtIndex:
> #<OBJC-DISPATCH-FUNCTION NEXTSTEP-FUNCTIONS:|pageAtIndex:| #x30200144C34F>
> ? 
> 
> but not in 1.10:
> 
> Welcome to Clozure Common Lisp Version 1.10-store-r16266  (DarwinX8664)!
> ? (objc:load-framework "Quartz" :quartz)
> NIL
> ? #'#/pageAtIndex:
>> Error: Undefined function: NEXTSTEP-FUNCTIONS:|pageAtIndex:|
>> While executing: CCL::%FUNCTION, in process Listener(5).
>> Type cmd-. to abort, cmd-\ for a list of available restarts.
>> Type :? for other options.
> 1 > 
> 
> And yet, the cdb files seem to be in order:
> 
> [ron at mighty:~/devel/ccl]➔ grep pageAtIndex v1.9/darwin-x86-headers64/quartz/*.cdb
> Binary file v1.9/darwin-x86-headers64/quartz/objc-methods.cdb matches
> [ron at mighty:~/devel/ccl]➔ grep pageAtIndex v1.10/darwin-x86-headers64/quartz/*.cdb
> Binary file v1.10/darwin-x86-headers64/quartz/objc-methods.cdb matches
> 
> The ccl: logical host seems to be OK too:
> 
> ? (truename "ccl:")
> #P"/Users/ron/devel/ccl/v1.10/“

For the Mac App Store version of ccl, the ccl logical host should refer to
.../Clozure CL.app/Contents/Resources/ccl

Welcome to Clozure Common Lisp Version 1.10-store-r16266  (DarwinX8664)!
? (probe-file "ccl:")
#P"/usr/local/src/ccl-appstore/Clozure CL.app/Contents/Resources/ccl/"
? (objc:load-framework "Quartz" :quartz)
NIL
? #'#/pageAtIndex:
#<OBJC-DISPATCH-FUNCTION NEXTSTEP-FUNCTIONS:|pageAtIndex:| #x30200159399F>
? 





More information about the Openmcl-devel mailing list