Install libfreeimage-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libfreeimage-dev
Description:
Support library for graphics image formats (development files)
FreeImage is an Open Source C/C++ library project for developers who would like to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as needed by today's multimedia applications. FreeImage is easy to use, fast, multithreading safe, and cross-platform (works both with Linux, 32 bit Windows and Mac OS X). . This package contains the headers and static libraries needed to develop programs using FreeImage.
Homepage: http://freeimage.sourceforge.net/
Version: 3.17.0+ds1-5build2
Section: universe/libdevel