Full documentation --> https://www.nongnu.org/pngpp/doc/0.2.9/
The libpng it self, in Ubuntu 16.04 you can follow sudo apt install libpng12-dev.
- Grab the lattest file here aka 0.2.9
- Go to download directory.
- Extract to
/usr/srcwithsudo tar -zxf png++-0.2.9.tar.gz -C /usr/src - Change directory to
cd /usr/src/png++-0.2.9/ - Do
maketo make sure everything is fine. - Try to do
make testto really make sure once more. - Finally
sudo make install