[cells-gtk-devel] (test-gtk:gtk-demo) failed
Peter Hildebrandt
peter.hildebrandt at gmail.com
Wed Apr 9 17:06:29 UTC 2008
Draggor,
thanks for the info. I installed the most recent release (june 2006)
not too long and it worked fine for me, though.
We will put together a new release soon. There are a number of
important changes in current cvs which should be pushed out.
One question is whether we wait until the cells-gtk3 branch (on top of
cells 3) has matured enough and release that one right away. Cells 3
are a major improvement in certain situations, and in the course of
porting cells-gtk Ken Tilton did quite a bit of clean up work in
cells-gtk. Plus, cells-gtk3 now contains experimental cairo support. I
won't backport that to cells 2.0.
Peter
Draggor wrote:
> Last I asked about this problem, I found that one of the files is
> simply incomplete (It looks like the code just stops halfway through).
> If possible I'd either recommend taking that release down, or
> releasing a newer version that at least compiles for some folks.
>
> I went and got the previous version and that worked just fine.
> Haven't tried CVS yet.
>
> ~Draggor
>
> On 4/9/08, Peter Hildebrandt <peter.hildebrandt at gmail.com> wrote:
>> Scott,
>>
>>
>>> I downloaded and expanded the root.tar.gz file which you gave the link
>> for, but the instructions in install.txt say to edit the load.lisp file,
>> which is not included in root.tar.gz. The other version
>> (cells-gtk-2006-06-30.zip) has a load.lisp file.
>> Right, in CVS this one is located outside the "root" folder, and thus not
>> in the tar I linked. You can navigate to it using the CVS linked from the
>> project page or download it directly:
>>
>> http://common-lisp.net/cgi-bin/viewcvs.cgi/*checkout*/load.lisp?rev=1.4&root=cells-gtk
>>
>>
>>> I added the gtk path C:\Program Files\Common Files\GTK\2.0\bin; to the
>> path variable in the control panel. The first time I tried to install
>> cells-gtk, I hadn't done this, so it failed to install. After I added gtk to
>> the path, (load "load") installed cells-gtk without any errors, but failed
>> to run (test-gtk:gtk-demo).
>> As I said, I have no experience with windows, so I can't speak to that. In
>> linux thinks are a little easier, because pretty much every distribution
>> comes with gtk, so that part of the equation can be taken for granted.
>>
>> Personally I use asdf to load cells-gtk, not the load.lisp facility, but
>> that's a matter of taste. So feel just stay with the (load "load") for now.
>>
>> The asdf stuff is a little harder to set up, but once correctly configured,
>> loading my application automatically pulls in all required libraries
>> including cells-gtk. Again, no idea how to do this in clisp/windows. I
>> wrote an introduction for sbcl/linux over here (which I admit is rather
>> technical):
>>
>> http://www.washbear-network.de/peterblog/getting-started-with-cells-gtk/
>>
>> Back to the problem: You saw Ken's post, so I suggest you open
>> cells-gtk/gtk-app.lisp and feature out the following two lines by putting
>> #+linux in front of each (about half way into the file):
>>
>> (g-thread-init +c-null+) ; init threading
>> (gdk-threads-init)
>>
>> to
>>
>> #+linux (g-thread-init +c-null+) ; init threading
>> #+linux (gdk-threads-init)
>>
>> Let me know if that helped.
>>
>> Peter
>>
>>
>>
>>
>>> Is cells-gtk easier to install on another operating system and/or a
>> different Common Lisp implementation?
>>> Scott
>>>
>>> Get the name you always wanted with the new y7mail email address.
>> <http://au.rd.yahoo.com/mail/taglines/au/y7mail/gmail/*http://au.yahoo.com/y7mail/?p1=ni&p2=general&p3=tagline&p4=gmail>.
>> _______________________________________________
>> cells-gtk-devel site list
>> cells-gtk-devel at common-lisp.net
>> http://common-lisp.net/mailman/listinfo/cells-gtk-devel
>>
More information about the cells-gtk-devel
mailing list