[Openmcl-devel] Import Question
bfulg at pacbell.net
Fri Dec 15 01:19:50 EST 2006
I've done a "(require 'cocoa)" in a program, which I can see loads
the "examples/objc-clos" file. But when I attempt to use anything
from the file I get an error:
;;; From ccl/examples/objc-clos.lisp:
(defstruct (ns-point (:constructor make-ns-point (x y)))
(defun ns-make-point (x y)
(make-ns-point (coerce x 'single-float) (coerce y 'single-float)))
If I load the routines:
[ ... ]
Welcome to OpenMCL Version 1.1-pre-061110 (DarwinPPC32)!
? (ccl::ns-make-point 0.1 0.2)
> Error: Undefined function CCL::NS-MAKE-POINT called with arguments
(0.1 0.2) .
> While executing: CCL::TOPLEVEL-EVAL, in process Listener(4).
> Type :GO to continue, :POP to abort, :R for a list of available
> If continued: Retry applying CCL::NS-MAKE-POINT to (0.1 0.2).
> Type :? for other options.
I don't see any 'package declarations that would help me figure out
if these things are exported. I'm sure this has an obvious answer,
but I'm not seeing what I'm doing wrong...
More information about the Openmcl-devel