crategus / cl-cffi-gtk

cl-cffi-gtk is a Lisp binding to the GTK+ 3 library.
http://www.crategus.com/books/cl-cffi-gtk
146 stars 33 forks source link

Failure to load on Clozure CL #14

Closed vityok closed 10 years ago

vityok commented 10 years ago

Hi Dieter,

Clozure CL is generally more easily available (distributed in pre-compiled and ready to use form on its official Web site) so I decided to load CL-CFFI-GTK in it.

Ccl reports following error:

> Error: The class #<FORWARD-REFERENCED-CLASS G-BOXED-INFO> was specified as a
>        super-class of the class #<STRUCTURE-CLASS G-BOXED-OPAQUE-WRAPPER-INFO>;
>        but the meta-classes #<COMMON-LISP:STANDARD-CLASS FORWARD-REFERENCED-CLASS> and
>        #<COMMON-LISP:STANDARD-CLASS STRUCTURE-CLASS> are incompatible.
> While executing: #<CCL::STANDARD-KERNEL-METHOD CCL::ENSURE-CLASS-INITIALIZED (CCL::SLOTS-CLASS)>, in process listener(1).

whilst loading cl-cffi-gtk/gobject/gobject.boxed-lisp.lisp

I've got Clozure CL 1.9 LinuxX8632.

crategus commented 10 years ago

Thank you very much for your bug report.

Today, I have installed Clozure CL and started to solve several problems with Clozure CL.

The problem with the implementation of GBoxed is solved. But there is remaining problem when initializing an instance. Clozure CL does not initialize the properties of an instance correctly. I am searching for the problem in the code.

Dieter Kaiser

crategus commented 10 years ago

I have worked on the cl-cffi-gtk library and have got it run with Clozure CL. This is the version information from the function cl-cffi-gtk-build-info:

cl-cffi-gtk version: 1.0.0 cl-cffi-gtk build date: 1:9 10/28/2013 GTK+ version: 3.8.4 GLIB version: 2.38.1 GDK-Pixbuf version: 2.28.1 Pango version: 1.32.5 Cairo version: 1.12.16 Machine type: i686 Machine version: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz Software type: Linux Software version: 3.11.0-13-generic Lisp implementation type: Clozure Common Lisp Lisp implementation version: Version 1.9 (LinuxX8632)

All demos are running without problems.

Dieter Kaiser

vityok commented 10 years ago

Fix confirmed. Thanks a lot for your great work! I hope you will publish a book and it will become a best-seller.