[cells-gtk-devel] Error compiling CVS version of cells-gtk

Stefan Nobis stefan-ml at snobis.de
Fri Nov 4 08:05:39 UTC 2005


Peter Denno <peter.denno at nist.gov> writes:

> I think Andras is right. In fact, in gtk-ffi.asd I see:

> ;#+cmu(setf *gtk-lib-path* "/usr/lib/")
> #+(OR cmu sbcl)(setf *gtk-lib-path* "/opt/gnome/lib/")  ; For my Suse machine

I tried to comment out both lines and to follow the comment (leave
path empty), but that doesn't work. I had to comment out the
second line and uncomment the first one (my GTK libs are in
/usr/lib -- Debian).

After i ignored the error with drawing.lisp, the rest compiles
fine. But the demo raises an error (while showing the
splash-screen):

,----
| * (test-gtk::gtk-demo)
| 
| Error in function LISP::ASSERT-ERROR:
|    Callback ACTIVATE not defined in *widget-callbacks*
|    [Condition of type SIMPLE-ERROR]
| 
[...]
| 
| (LISP::ASSERT-ERROR CELLS-GTK::CB
|                     NIL
|                     "Callback ~a not defined in *widget-callbacks*"
|                     CELLS-GTK::ACTIVATE)
| Source: Error finding source:
| Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
|   target:code/macros.lisp.
| 0] cells-gtk::*widget-callbacks*
| 
| ((CELLS-GTK::CLICKED) (CELLS-GTK::CHANGED) (CELLS-GTK::ACTIVATE)
|  (CELLS-GTK::VALUE-CHANGED) (CELLS-GTK::DAY-SELECTED)
|  (CELLS-GTK::SELECTION-CHANGED) (CELLS-GTK::TOGGLED) (CELLS-GTK::DELETE-EVENT)
|  (CELLS-GTK::MODIFIED-CHANGED))
`----

That assertion seems to be part of the macro DEF-GTK. But
according to the source, ACTIVATE is indeed defined in
*widget-callbacks* and the REPL says the same. So I'm a bit
confused and i think my Lisp knowledge is not good enough to fully
debug this (any hints and tips are welcome).

BTW: What do those "Source: Error finding source" errors mean?

-- 
Until the next mail...,
Stefan.



More information about the cells-gtk-devel mailing list