[cells-gtk-devel] problems with sbcl + cells-gtk
Albert Cardona
cardona at ucla.edu
Thu Dec 14 14:08:50 UTC 2006
Dear all,
I can't get cells-gtk to work with SBCL 0.9.13. Below is the steps I've
gone through, all the way to getting the splash for the demo, but that
is as far as I could go.
I'd appreciate some advice.
Albert Cardona
$ cd ~/Programming/lisp/cells-gtk-2006-06-30
CL-USER> (load "load")
[...]
CL-USER> (test-gtk:gtk-demo)
Fails because it can't find libgtk-x11-2.0.so
So I add a symlink:
$ cd /usr/lib
$ ln -s libgtk-x11-2.0.so.0 libgtk-x11-2.0.so
Then I run again:
CL-USER> (test-gtk:gtk-demo)
Fails because it can't find the libcellsgtk shared object
So I follow the instructions in INSTALL.txt to create the libcellsgtk.so
and then I add a symlink to it under /usr/X11/lib/
Then I run again:
CL-USER> (test-gtk:gtk-demo)
And it fails again.
So I go to cells-gtk-2006-06-30/root/gtk-ffi/ and have a look at the
gtk-ffi.asd file. What I found: that (pushnew :libcellsgtk *features*)
is by default uncommented. So I comment it out, delete the gtk-ffi.fasl
file, and now:
CL-USER> (load-shared-object "/usr/X11R6/lib/libcellsgtk.so")
CL-USER> (load "load")
CL-USER> (test-gtk:gtk-demo)
The demo starts, a spash "Cells Gtk" shows, then the launching of the
demo stops and I see:
You need libcellsgtk.so to use function GTK-ADDS-TREE-ITER-NEW.
[Condition of type SIMPLE-ERROR]
Restarts:
0: [ABORT-REQUEST] Abort handling SLIME request.
1: [ABORT] Exit debugger, returning to top level.
Backtrace:
0: (GTK-FFI:GTK-ADDS-TREE-ITER-NEW)
1: (GTK-FFI:GTK-ADDS-TREE-ITER-NEW)
2: ((SB-PCL::FAST-METHOD CELLS-GTK:CGTK-SET-ACTIVE-ITEM-BY-PATH
(CELLS-GTK:COMBO-T)) #<unavailable argument> #<unavailable argument>
COMBO-BOX (0))
....
More information about the cells-gtk-devel
mailing list