Install libsoil-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libsoil-dev
Description:
Simple OpenGL Image Library - development files
SOIL is a tiny C library used primarily for uploading textures into OpenGL. It supports loading BMP, PNG, JPG, TGA, DDS, PSD and HDR files as well as saving into TGA, BMP and DDS Files. . It is also able to perform common functions needed in loading OpenGL textures. . This package contains everything needed to develop software using libsoil.
Homepage: http://www.lonesock.net/soil.html
Version: 1.07~20080707.dfsg-4
Section: universe/libdevel