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

Ron Garret ron at flownet.com
Mon Nov 3 18:39:21 PST 2014


Yeah, I was mixing up two different 1.10 versions.

It turns out this was apparently a bug that was (apparently) introduced some time before 1.10store was released, and then fixed some time between r16188 and r16302.  I just didn’t have the latest version.

rg


Welcome to Clozure Common Lisp Version 1.10-RC1-r16188M  (DarwinX8664)!
? (objc:load-framework "Quartz" :quartz)
NIL
? #'#/pageAtIndex:
> Error: Undefined function: NEXTSTEP-FUNCTIONS:|pageAtIndex:|
> While executing: CCL::%FUNCTION, in process Listener(4).
> Type cmd-. to abort, cmd-\ for a list of available restarts.
> Type :? for other options.
1 > 

Welcome to Clozure Common Lisp Version 1.10-r16302M  (DarwinX8664)!
? (objc:load-framework "Quartz" :quartz)
NIL
? #'#/pageAtIndex:
#<OBJC-DISPATCH-FUNCTION NEXTSTEP-FUNCTIONS:|pageAtIndex:| #x3020015710CF>
? 

On Nov 3, 2014, at 6:26 PM, R. Matthew Emerson <rme at clozure.com> wrote:

> 
> 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