[Openmcl-devel] NSView setWantsLayer undefined?

Ron Garret ron at awun.net
Fri Jul 3 10:25:33 PDT 2009


I was bitten by this too.  You're running the 32-bit CCL, which ships  
with Tiger interfaces.  setWantsLayer is Leopard-only.


> Apropos reveals the following:
>
> CL-USER>  (apropos "setAlphaValue")
> NEXTSTEP-FUNCTIONS:|setAlphaValue:|, Def: CCL::OBJC-DISPATCH-FUNCTION
> CL-USER> (apropos "setWantsLayer")
> NEXTSTEP-FUNCTIONS:|setWantsLayer:|


This is because ObjC function names are ginned up on the fly by the  
reader:

Welcome to Clozure Common Lisp Version 1.4-dev  (DarwinX8632)!
? (apropos "setWantsLayer")
? (apropos "setAlphaValue")
? '(#/setWantsLayer)
(NEXTSTEP-FUNCTIONS:|setWantsLayer|)
? (apropos "setWantsLayer")
NEXTSTEP-FUNCTIONS:|setWantsLayer|
? '(#/setAlphaValue)
(NEXTSTEP-FUNCTIONS:|setAlphaValue|)
? (apropos "setAlphaValue")
NEXTSTEP-FUNCTIONS:|setAlphaValue|
? '(#/snozbar)
(NEXTSTEP-FUNCTIONS:|snozbar|)
? (apropos "snozbar")
NEXTSTEP-FUNCTIONS:|snozbar|
?

There ought to be a FAQ...

rg




More information about the Openmcl-devel mailing list