Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.08 KB

INSTALL.md

File metadata and controls

53 lines (37 loc) · 1.08 KB

Installation

Dependencies

png2pdf uses CMake for building and installation.

png2pdf has three runtime dependencies:

Mostly everything should be available through package managers:

Ubuntu

sudo apt install cmake libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libpng-dev libpodofo-dev

macOS

brew install cmake boost libpng podofo png++

on Ubuntu png++ needs to be installed manually:

cd /usr/local/src # Or wherever you compile code
wget http://download.savannah.nongnu.org/releases/pngpp/png++-0.2.9.tar.gz
tar zxf png++-0.2.9.tar.gz
cd png++-0.2.9
make
sudo make install

Installing

checkinstall is recommend for installing, but it is only available on Linux.

mkdir build && cd build
cmake ../
make

# Linux
sudo checkinstall

# macOS
sudo make install