[pro] CL-PDF in ACL 64bit - anyone know how to get 64bit ZLIB?

Nick Levine nick at nicklevine.org
Fri Aug 22 04:27:02 UTC 2014


> Date: Thu, 21 Aug 2014 15:10:53 -0700
> From: Martin Mallinson <martin at mallinson.homeip.net>
> 
> [...]
> 
> Ok, now to use CL-PDF on Allegro I SVN'ed it from
> https://github.com/mbattyani/cl-pdf and tried to build it ...

1. Was there any particular reason for not using quicklisp? There
should be no "try to build" with quicklisp - it's supposed to Just
Work.

  (ql:quickload :cl-pdf)

2. cl-pdf.asd (which is what quickload will load) gives you a choice
of compressions. Salza is implemented in lisp.

  ;;;Choose the zlib implementation you want to use (only one!)
  (eval-when (:load-toplevel :compile-toplevel :execute)
    ;;(pushnew :use-salza2-zlib *features*)
    ;;(pushnew :use-salza-zlib *features*)
    ;;(pushnew :use-uffi-zlib *features*)
    ;;(pushnew :use-abcl-zlib *features*)
    (pushnew :use-no-zlib *features*)
    )

Hey Presto! Escape that Library Hell!

- nick




More information about the pro mailing list