[fetter-devel] CFFI::DEFCTYPE* in cairo.lisp - undefined?
Christopher Melen
relativeflux at hotmail.co.uk
Sat Mar 15 18:57:12 UTC 2008
Hi,
I'm experimenting with Verrazano on WinXP (in Cygwin's Clisp), but I'm having a problem with the cairo.lisp test (using Cygwin's native cygcairo-2.dll in place of libcairo.so). I get the following error -
[1]> (load "/cygdrive/c/verrazano/verrazano/tests/cairo.lisp")
;; Loading file /cygdrive/c/verrazano/verrazano/tests/cairo.lisp ...
; loading system definition from /home/Chris/asdf/asdf_registry/cffi.asd into #<PACKAGE ASDF0>
;; Loading file /home/Chris/asdf/asdf_registry/cffi.asd ...
; registering #<SYSTEM CFFI #x1025A309> as CFFI
;; Loaded file /home/Chris/asdf/asdf_registry/cffi.asd
;; Loading file /cygdrive/c/verrazano/cffi/src/utils.fas ...
;; Loaded file /cygdrive/c/verrazano/cffi/src/utils.fas
;; Loading file /cygdrive/c/verrazano/cffi/src/features.fas ...
;; Loaded file /cygdrive/c/verrazano/cffi/src/features.fas
;; Loading file /cygdrive/c/verrazano/cffi/src/cffi-clisp.fas ...
;; Loaded file /cygdrive/c/verrazano/cffi/src/cffi-clisp.fas
;; Loading file /cygdrive/c/verrazano/cffi/src/package.fas ...
;; Loaded file /cygdrive/c/verrazano/cffi/src/package.fas
;; Loading file /cygdrive/c/verrazano/cffi/src/libraries.fas ...
;; Loaded file /cygdrive/c/verrazano/cffi/src/libraries.fas
;; Loading file /cygdrive/c/verrazano/cffi/src/early-types.fas ...
;; Loaded file /cygdrive/c/verrazano/cffi/src/early-types.fas
;; Loading file /cygdrive/c/verrazano/cffi/src/types.fas ...
;; Loaded file /cygdrive/c/verrazano/cffi/src/types.fas
;; Loading file /cygdrive/c/verrazano/cffi/src/enum.fas ...
;; Loaded file /cygdrive/c/verrazano/cffi/src/enum.fas
;; Loading file /cygdrive/c/verrazano/cffi/src/strings.fas ...
;; Loaded file /cygdrive/c/verrazano/cffi/src/strings.fas
;; Loading file /cygdrive/c/verrazano/cffi/src/functions.fas ...
;; Loaded file /cygdrive/c/verrazano/cffi/src/functions.fas
;; Loading file /cygdrive/c/verrazano/cffi/src/foreign-vars.fas ...
;; Loaded file /cygdrive/c/verrazano/cffi/src/foreign-vars.fas
0 errors, 0 warnings
;; Loading file /home/Chris/asdf/asdf_registry/verrazano.asd ...
;; Loaded file /home/Chris/asdf/asdf_registry/verrazano.asd
;; Loading file /cygdrive/c/verrazano/verrazano/example-bindings/cairo-cffi-bindings.lisp ...
; loading system definition from /home/Chris/asdf/asdf_registry/verrazano-runtime.asd into #<PACKAGE ASDF0>
;; Loading file /home/Chris/asdf/asdf_registry/verrazano-runtime.asd ...
; registering #<SYSTEM :VERRAZANO-RUNTIME #x1007BC49> as VERRAZANO-RUNTIME
;; Loaded file /home/Chris/asdf/asdf_registry/verrazano-runtime.asd
;; Loading file /cygdrive/c/verrazano/verrazano/runtime/support.fas ...
;; Loaded file /cygdrive/c/verrazano/verrazano/runtime/support.fas
0 errors, 0 warnings
*** - COMMON-LISP:EVAL: undefined function CFFI::DEFCTYPE*
The following restarts are available:
USE-VALUE :R1 You may input a value to be used instead of (COMMON-LISP:FDEFINITION 'CFFI::DEFCTYPE*).
RETRY :R2 Retry
STORE-VALUE :R3 You may input a new value for (COMMON-LISP:FDEFINITION 'CFFI::DEFCTYPE*).
SKIP :R4 skip (DEFCTYPE* CAIRO-STATUS-T _CAIRO-STATUS)
STOP :R5 stop loading file /cygdrive/c/verrazano/verrazano/example-bindings/cairo-cffi-bindings.lisp
SKIP :R6 skip (LOAD #)
STOP :R7 stop loading file /cygdrive/c/verrazano/verrazano/tests/cairo.lisp
ABORT :R8 COMMON-LISP:ABORT
I looked at the my CFFI sources and defctype* doesn't appear to be defined anywhere. But it appears at several points in cairo-cffi-bindings.lisp. I tried using defctype instead, but that caused even more errors (lots of undefined types, if I recall correctly). Any suggestions?
Many thanks,
Chris
_________________________________________________________________
Telly addicts unite!
http://www.searchgamesbox.com/tvtown.shtml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/fetter-devel/attachments/20080315/6c98031b/attachment.html>
More information about the fetter-devel
mailing list