On Thu, Aug 21, 2014 at 6:10 PM, Martin Mallinson <martin@mallinson.homeip.net> wrote:
CL-PDF looks very useful for me. Thanks Marc and the team at ILC2014 for
this and all the great info!

Ok, now to use CL-PDF on Allegro I SVN'ed it from
https://github.com/mbattyani/cl-pdf and tried to build it with acl-load
the essence of which is

(defparameter *cl-pdf-home* excl:*source-pathname*)

(defun cl-file (x)
  (tpl:do-command "cl" (namestring (merge-pathnames x *cl-pdf-home*))))

(eval-when (load)
  (mapc #'cl-file
    '("defpackage"
      "cl-zlib-small"
      "pdf"
      "pdf-base"
      "pdf-geom"
      )))

note the lower case do-command "cl" not "CL" since I am in modern mode
ACL 9.0 64 bit

Anyhow it does not work, since cl-zlib-small.lisp tells me to:
(defvar *libgz-path* "/usr/lib/libz.so"
  "Set this variable to point to the location of the zlib library
(libz.so or zlib.dll) on your system.")

which begs the question of where is zlib.dll for 64 bits? It is not on
my machine and I cant seem to find it on the WWW...
Any LISPer's using CL-PDF on ACL WIndows 64bit who have solved this
problem? Any help much appreciated...


Here is what seems like a package precompiled for mingw64 of zlib-1.2.5.

Just in case it could be useful to you.

Cheers,

JCB