I use CLion as an IDE. I has a great set of tools for refactoring code, but unfortunately it is not free.
As a build system (technically a build system generator) I use CMake.
On Linux Mint, the library dependencies (SDL, SDL_image, etc.) can be installed via apt, and CMake can find them automatically. I can attach my CMakeLists.txt file in the next PR.