[Openmcl-devel] Foreign variable not found during compile

Neil Baylis neil.baylis at gmail.com
Fri Jul 10 05:01:43 UTC 2009


I just noticed this problem when I attempt to compile my animation demo.

I open the file in the IDE, and then select Lisp --> Compile Buffer

Read error between positions 2681 and 3199 in /Users/neil/devel/tiles/ 
ca-demo.lisp.
 > Error: Foreign variable "kCAGravityCenter" not found
 > While executing: CCL::%LOAD-VAR, in process Listener(6).
 > Type cmd-. to abort, cmd-\ for a list of available restarts.
 > Type :? for other options.
CL-USER>

Yet this works OK if I select Lisp --> Execute All

The code in question is

  (#/setContentsGravity: layer #&kCAGravityCenter)

If this is really obvious, just give me a hint - I want to learn.

Thanks,

Neil



More information about the Openmcl-devel mailing list