Install libpng-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpng-dev
Description:
PNG library - development (version 1.6)
libpng is a library implementing an interface for reading and writing PNG (Portable Network Graphics) format files. . This package contains the header and development files needed to build programs and packages using libpng.
Homepage: http://libpng.org/pub/png/libpng.html
Version: 1.6.34-1
Section: libdevel