Vanilla.PDF
2.0.0
Cross-platform toolkit for creating and modifying PDF documents
|
CMake This project uses CMake (https://cmake.org/) framework as a cross-platform build tool.
Latest version is available at https://cmake.org/download/.
OpenSSL Building OpenSSL from source is out of scope of this guide.
For detailed information about build process visit OpenSSL official page.
You can find pre-built binaries here.
zlib Building zlib from source is out of scope of this guide.
For detailed information about build process visit zlib official page.
You can find pre-built binaries here.
libjpeg Building libjpeg from source is out of scope of this guide.
For detailed information about build process visit libjpeg official page.
You can find pre-built binaries here.
Alternatively, you can compile library the UNIX way using Cygwin or MinGW.
Download source tarball and put it somewhere (e.g. use c:\tools
)
Now start a visual studio native command shell (for either x86 or x64) and type
to unpack the sources (you can obtain tar
from e.g. http://gnuwin32.sourceforge.net/packages.html). Alternatively you can use an unpack program, like 7-Zip (see http://www.7-zip.org) or use the build in unpack feature of modern Windows systems).
Now your environment is setup to generate the required project files for vanillapdf
.
cd into the vanillapdf-x.y.z
directory, create and cd to a build directory
Installing dependencies
Unpack the archive, unless you already have done that:
Create a build directory:
Run CMake with the makefile generator:
Compile the program by running make:
Verify the library sanity:
With the expected output: