Albert Cardona | 14 Dec 2006 15:08
Favicon

problems with sbcl + cells-gtk


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/

(Continue reading)

Peter Denno | 14 Dec 2006 15:47
Favicon

Re: problems with sbcl + cells-gtk

On Thursday 14 December 2006 09:08, Albert Cardona wrote:
> 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))
>    ....

Recompile gtk-ffi/gtk-other.lisp and this should go away. 

--

-- 
Best regards,
  - Peter

Gmane