Peter,
I fixed the problems which I had earlier but now I have different bugs.
The Lisp I was using didn't have asdf so I switched to the Gigamonkeys Lispbox
and used that to compile cffi 0.9.2.
Then after I deleted the old .fas files, recompiled cells-gtk, and called
(test-gtk:gtk-demo)
I got a splash screen and these messages:
(lisp.exe:900): Gtk-CRITICAL **: gtk_box_pack_start: assertion `child->parent
== NULL' failed
(lisp.exe:900): Gtk-CRITICAL **: gtk_box_pack_start: assertion `child->parent
== NULL' failed
(lisp.exe:900): Gtk-WARNING **: Attempting to add a widget with type
GtkAccelLabel to a GtkImageMenuItem, but as a GtkBin subclass a
GtkImageMenuItem can only contain one widget at a time; it already contains a
widget of type GtkAccelLabel
Scott
Peter Hildebrandt <[EMAIL PROTECTED]> wrote: Scott,
> Also, during the compilation process there are some warnings like
>
> WARNING: COMPILE-FILE warned while performing #
> #x19DC9229> on #.
> WARNING: COMPILE-FILE failed while performing #
> #x19DC9229> on #.
>
> 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/
---------------------------------
Get the name you always wanted with the new y7mail email address..
_______________________________________________
cells-gtk-devel site list
cells-gtk-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/cells-gtk-devel