Install libpgf-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpgf-dev
Progressive Graphics File (PGF) library - development files
libpgf is a library implementing an interface for handling PGF (Progressive Graphic File) format files. . This package contains files needed for development.