From lnp at healy.washington.dc.us Thu Mar 20 16:40:33 2008 From: lnp at healy.washington.dc.us (Liam Healy) Date: Thu, 20 Mar 2008 12:40:33 -0400 Subject: [cl-cairo2-devel] Multiple errors Message-ID: <654935030803200940v50eca8a4ra5bb5583f19e569e@mail.gmail.com> I'm trying to load and use cl-cairo2 from the SVN repository. I've noticed multiple errors, some that I can work around, and some not. I am using SBCL on Debian/amd64. 1) Tutorial won't make because of missing hearts.png. 2) In the file xlib, I get a warning: Defining a foreign type named ATOM. This symbol belongs to the COMMON-LISP package and that may interfere with other code using CFFI. 3) Tutorial example shows create-ps-surface passed fixnums, but it requires double-floats. 4) Cannot run (setf *context* (create-context *surface*)) from example, gives error: The function FINALIZE is undefined. [Condition of type UNDEFINED-FUNCTION] and it is on 4 that I am stuck; finalize indeed seems to be undefined. Thanks, Liam From tpapp at Princeton.EDU Sun Mar 23 23:02:42 2008 From: tpapp at Princeton.EDU (Tamas K Papp) Date: Sun, 23 Mar 2008 19:02:42 -0400 Subject: [cl-cairo2-devel] Re: Multiple errors Message-ID: <20080323230242.GA31392@pu100877.student.princeton.edu> Hi Liam, I just saw your message on your blog, somehow your message didn't get to me, I checked my spam filter but it was not caught by that either. I will investigate that... Anyhow, I uploaded a fix to all the cl-cairo2 errors you mentioned. Please let me know if this works. Tamas From lnp at healy.washington.dc.us Mon Mar 24 02:22:52 2008 From: lnp at healy.washington.dc.us (Liam Healy) Date: Sun, 23 Mar 2008 22:22:52 -0400 Subject: [cl-cairo2-devel] Re: Multiple errors In-Reply-To: <20080323230242.GA31392@pu100877.student.princeton.edu> References: <20080323230242.GA31392@pu100877.student.princeton.edu> Message-ID: <654935030803231922k6d374b5bq6d64288e1a46d565@mail.gmail.com> Hi Tamas, Thanks for the fixes. I will investigate when I come back to Cairo. My interest in Cairo was twofold: I have an old (but good!) 2d plotting program that is in need of a modern back end, and I have built up a variety of mathematical drawing functions that use a small postscript output package I wrote. On close investigation, I found that both would require a significant investment of time to port to Cairo. I will track what's going with Cairo and I hope come back to these projects soon. Liam On Sun, Mar 23, 2008 at 7:02 PM, Tamas K Papp wrote: > Hi Liam, > > I just saw your message on your blog, somehow your message didn't get > to me, I checked my spam filter but it was not caught by that either. > I will investigate that... > > Anyhow, I uploaded a fix to all the cl-cairo2 errors you mentioned. > Please let me know if this works. > > Tamas >