[cells-gtk-devel] (test-gtk:gtk-demo) failed

Peter Hildebrandt peter.hildebrandt at gmail.com
Thu Apr 10 15:36:40 UTC 2008


Scott,

> Also, during the compilation process there are some warnings like
>
> WARNING: COMPILE-FILE warned while performing #<COMPILE-OP NIL  
> #x19DC9229> on #<CL-SOURCE-FILE "gtk-other" #x19C50311>.
> WARNING: COMPILE-FILE failed while performing #<COMPILE-OP NIL  
> #x19DC9229> on #<CL-SOURCE-FILE "gtk-other" #x19C50311>.
>
> and
>
> WARNING: EVAL: too few arguments given to FFI::FOREIGN-LIBRARY-FUNCTION:
>          (FFI::FOREIGN-LIBRARY-FUNCTION "g_free" (FFI::FOREIGN-LIBRARY  
> :DEFAULT) NIL
>          (FFI:PARSE-C-TYPE '(FFI:C-FUNCTION (:ARGUMENTS (#:G34113  
> FFI:C-POINTER)) (:RETURN-TYPE NIL) (:LANGUAGE :STDC))))

This is interesting.  At this point I am pretty sure your problem is not  
with cells-gtk, but rather with the underlying cffi.  It looks like the  
definitions of the gtk libs don't pass compilation properly, and the fact  
that you keep getting the NIL function error both suggest that the binding  
to the library does not work at all.

So let us investigate your CFFI:

- Did you install cffi 0.9.2 from here?
http://common-lisp.net/project/cffi/
(The darcs version *and* older versions don't work!)

- Do you have clisp >= 2.35 as required by cffi (cf. their homepage)

I don't know how clisp handles compilation of source files .  SBCL creates  
compiled files with the extension .fasl, and sometimes you need to remove  
those manually, because otherwise the compiler uses outdated files.

Peter


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the cells-gtk-devel mailing list