This project is under development. Tested on Ubuntu 20.04
sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-ttf-dev
sudo apt-get install libjpeg62-dev # For JPEG
sudo apt-get install libpng-dev # For PNG
sudo apt install zlib1g-dev # For PNG
sudo apt install libtiff-dev # For TIFF
wget https://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.5.zip
unzip SDL2_image-2.0.5.zip -d sdl_image
cd sdl_image
./configure
make
sudo make install
sudo ldconfig
sudo apt install libsdl2-image-dev
sudo ldconfig
# Set source folder is current folder and build folder is "build" folder
cmake -S . -B build
cd build
make
~/chess/build$ ./chess