[cl-gd-devel] Re: cl-gd on 64 bit Lisp with do-pixel
Hans Hübner
hans at huebner.org
Tue Feb 12 15:02:09 UTC 2008
I'm still having problems with true color images on my 64 bit Lisps,
so if anyone with experience in that direction is reading, please
speak up! :)
Thanks,
Hans
On Feb 11, 2008 1:09 PM, Hans Hübner <hans at huebner.org> wrote:
> Hi,
>
> I'm trying to use cl-gd on a 64 bit platform and I have a problem with
> DO-PIXELS applied to a truecolor image:
>
> (with-image-from-file (image "/home/hans/affe.jpg")
> (do-pixels (image)
> (format t "~A~%" (raw-pixel))))
>
> fails with a memory access violation error, both on openmcl and on
> sbcl on FreeBSD/amd64. Do others see this, too, on 64 bit Lisps? I
> want to rule out that it is a problem with gd on FreeBSD or the fact
> that I am using CFFI-UFFI-COMPAT.
>
> I have only quickly looked at cl-gd/misc.lisp and I saw that it uses
> :int as type specifier where I think a more specific data type like
> uint32 or some such would have been required. But it could all be me.
>
> So, does anyone here run cl-gd on a 64 bit Lisp?
>
> Thanks,
> Hans
>
More information about the Cl-gd-devel
mailing list