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

Peter Hildebrandt peter.hildebrandt at gmail.com
Sat Apr 12 16:20:53 UTC 2008


Scott,

I'm glad to hear it all worked out for you.

The GTK warnings on the console appear for me, too.  We might be able
to fix that in cells-gtk3.  They don't do any harm, though.

Peter

On Fri, Apr 11, 2008 at 4:06 PM, Scott Brown <doolagarl2002 at yahoo.com.au> wrote:
> Peter
>
> The demo now works, and displays the GTK  Testing window and tabs.
> Everything in the demo seems to be working okay, as far as I can tell,
> though it still prints some warning messages at the shell.
>
> So, it's all fixed. Thanks for your help.
>
>
> Scott
>
>
>
>
> Peter Hildebrandt <peter.hildebrandt at gmail.com> 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..
>
>



More information about the cells-gtk-devel mailing list