From peter.denno at nist.gov Thu Jun 2 23:01:01 2005 From: peter.denno at nist.gov (Peter Denno) Date: Thu, 2 Jun 2005 19:01:01 -0400 Subject: [cells-gtk-devel] cells-gtk, win32 and Lispworks 4.4.5 Message-ID: <200506021901.01728.peter.denno@nist.gov> Hi, I was able to compile and run cells-gtk under windows and lispworks 4.4.5 without problems. - Running gtk+-2.4.14-setup.exe sets the PATH variable, so contrary to what it says in cells-gtk/INSTALL.TXT, you don't have to manually set this. - I had to reboot to get lisp to recognize the change to the PATH variable. I suppose there is a easier way. I don't know anything about PCs. - I didn't try building libcellsgtk yet. It started loading cygwin tools (gcc and make) and a few of the supporting libraries (pango...) but there's still is more stuff to find. -- - Best regards, Peter From ktilton at nyc.rr.com Thu Jun 2 23:58:11 2005 From: ktilton at nyc.rr.com (Kenny Tilton) Date: Thu, 02 Jun 2005 19:58:11 -0400 Subject: [cells-gtk-devel] cells-gtk, win32 and Lispworks 4.4.5 In-Reply-To: <200506021901.01728.peter.denno@nist.gov> References: <200506021901.01728.peter.denno@nist.gov> Message-ID: <429F9D13.5030303@nyc.rr.com> Peter Denno wrote: >Hi, > >I was able to compile and run cells-gtk under windows and lispworks 4.4.5 >without problems. > Great. This is probably something messed up on my system, probably by installing some other software after I originally ported cells-gtk to uffi/hello-c (when I was able to load gtk+ without a problem). > >- Running gtk+-2.4.14-setup.exe sets the PATH variable, so contrary to what it >says in cells-gtk/INSTALL.TXT, you don't have to manually set this. > Maybe the installers are getting better? I suggest leaving at least a note to check the PATH variable if there is a problem loading Gtk+ and things are coming up not found. > >- I had to reboot to get lisp to recognize the change to the PATH variable. I >suppose there is a easier way. I don't know anything about PCs. > >- I didn't try building libcellsgtk yet. It started loading cygwin tools (gcc >and make) and a few of the supporting libraries (pango...) but there's still >is more stuff to find. > > > I will take a crack at building the libcellsgtk.dll anyway, even tho I won't be able to run it. :) kenny -- Cells? : http://www.common-lisp.net/project/cells/ Cello? : http://www.common-lisp.net/project/cello/ Cells-Gtk? : http://www.common-lisp.net/project/cells-gtk/ Why Lisp? http://lisp.tech.coop/RtL%20Highlight%20Film "Doctor, I wrestled with reality for forty years, and I am happy to state that I finally won out over it." -- Elwood P. Dowd From ktilton at nyc.rr.com Fri Jun 3 16:41:55 2005 From: ktilton at nyc.rr.com (Kenny Tilton) Date: Fri, 03 Jun 2005 12:41:55 -0400 Subject: [cells-gtk-devel] cells-gtk, win32 and Lispworks 4.4.5 In-Reply-To: <200506021901.01728.peter.denno@nist.gov> References: <200506021901.01728.peter.denno@nist.gov> Message-ID: <42A08853.1070808@nyc.rr.com> Ugh, I give up. Looks like the config process requires the whole Cygwin thing. Sorry I cannot help. kenny From stefan-ml at snobis.de Tue Jun 28 14:52:20 2005 From: stefan-ml at snobis.de (Stefan Nobis) Date: Tue, 28 Jun 2005 16:52:20 +0200 Subject: [cells-gtk-devel] Error compiling/running with CMUCL Message-ID: <87d5q6lejf.fsf@snobis.de> Hi. I just downloaded the cells-gtk-2005-05-29.tgz tarball and tried to get it working with cmucl. After (load "load") i get this error: ,---- | ; | ; | ; File: /home/stefan/src/extern/cells-gtk-2005-05-29/root/gtk-ffi/gtk-list-tree.lisp | | ; In: DEF-GTK-LIB-FUNCTIONS :GTK | | ; (DEF-GTK-LIB-FUNCTIONS :GTK (GTK-LIST-STORE-NEWV # C-POINTER) | ; (GTK-LIST-STORE-SET-VALIST #) | ; (GTK-LIST-STORE-SET-VALUE #) | ; ...) | ; --> BLOCK ALIEN:WITH-ALIEN EXTENSIONS:COMPILER-LET SYMBOL-MACROLET VALUES | ; --> PROG1 LET ALIEN:ALIEN-FUNCALL ALIEN::NATURALIZE | ; ==> | ; (ALIEN::%SAP-ALIEN ALIEN:ALIEN '#) | ; Note: Unable to optimize because: | ; Could not optimize away %SAP-ALIEN: forced to do runtime | ; allocation of alien-value structure. | | Undefined foreign symbol: "gtk_adds_dialog_vbox" | [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR] | | Restarts: | 0: [CONTINUE] Return NIL from load of #P"/home/stefan/src/extern/cells-gtk-2005-05-29/root/gtk-ffi/gtk-other.x86f". | 1: [RETRY ] Retry performing # on | #. | 2: [ACCEPT ] Continue, treating # on | # as | having been successful. | 3: Return NIL from load of "load". | 4: [ABORT ] Return to Top-Level. | | Debug (type H for help) | | (KERNEL:UNDEFINED-FOREIGN-SYMBOL-ERROR-HANDLER "" | #.(SYSTEM:INT-SAP #x3FFFC34C) | # | (14)) | Source: Error finding source: | Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: | target:code/interr.lisp. | 0] `---- I choosed [CONTINUE] and the rest compiled without errors. When i start the demo application most works well, but on the fourth page "Menus" when i click on the second combo (titled Text) and select something (for example "Trimmed Text"), i get this error: ,---- | * (test-gtk::gtk-demo) | | (:5110): Gtk-CRITICAL **: gtk_box_pack_start: assertion `child->parent == NULL' failed | | (:5110): Gtk-CRITICAL **: gtk_box_pack_start: assertion `child->parent == NULL' failed | | (:5110): Gtk-WARNING **: Attempting to add a widget with type GtkAccelLabel to a GtkImageMenuItem, but as a GtkBin subclass a GtkImageMenuItem can only contain one widget at a time; it already contains a widget of type GtkAccelLabel | | | Error in KERNEL::UNDEFINED-SYMBOL-ERROR-HANDLER: the function GTK-FFI::GTK-ADDS-TREE-ITER-NEW is undefined. | [Condition of type UNDEFINED-FUNCTION] | | Restarts: | 0: [ABORT] Return to Top-Level. | | Debug (type H for help) | | (KERNEL::UNDEFINED-SYMBOL-ERROR-HANDLER "" | #.(SYSTEM:INT-SAP #x3FFFBE14) | # | (14)) | Source: Error finding source: | Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no longer exists: | target:code/interr.lisp. | 0] `---- BTW: I'm running Debian Sid with gtk 2.6.8-1 and cmucl 19b-pre1-20050614-1. -- Until the next mail..., Stefan. From peter.denno at nist.gov Tue Jun 28 16:55:17 2005 From: peter.denno at nist.gov (Peter Denno) Date: Tue, 28 Jun 2005 12:55:17 -0400 Subject: [cells-gtk-devel] Error compiling/running with CMUCL In-Reply-To: <87d5q6lejf.fsf@snobis.de> References: <87d5q6lejf.fsf@snobis.de> Message-ID: <200506281255.17535.peter.denno@nist.gov> On Tuesday 28 June 2005 10:52, Stefan Nobis wrote: > Hi. > > I just downloaded the cells-gtk-2005-05-29.tgz tarball and tried > to get it working with cmucl. After (load "load") i get this > error: > ... snip... > | Undefined foreign symbol: "gtk_adds_dialog_vbox" > | [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR] > | ... snip... It looks like there is a typo in root/gtk-ffi/gtk-other.lisp that is causing this: #-libcellsgtk (eval-when (:compile-toplevel :load-toplevel :execute) (you-need-libcellsgtk gtk-adds-dialog-box ;< -------- here ... should be gtk-adds-dialog-vbox, not gtk-adds-dialog-box. Thanks for the error report. The rest of the problems you are having are probably related to this. -- - Best regards, Peter