Skip to content

johnwhitington/cpdflib-source

Repository files navigation

cpdflib-source

(Binaries are at http://github.com/coherentgraphics/cpdflib-binary )

Cpdflib is a library version of the Coherent PDF Command Line Tools, which are available from http://www.coherentpdf.com/

It is distributed under the AGPL - see LICENSE.md. If you are unable to abide by the terms of the AGPL, you will need a commercial license.

For commercial licenses, email contact@coherentgraphics.co.uk or visit https://www.coherentpdf.com/

Prerequisites for building:

  1. OCaml
  2. OCamlfind
  3. CamlPDF, same version as cpdflib
  4. CPDF, same version as cpdflib

To build, just run build or winbuild. This makes the static library libcpdf.a (or similar) and/or the dynamic library libcpdf.dll (or similar). In addition, it builds the libcpdftest binary using static and/or dynamic linking. This contains tests which exercise every libcpdf function.

The build script also outputs suitable linker flags to standard output.

contact@coherentgraphics.co.uk