You need a C++ toolchain supporting C++20 (e.g. g++-10):
sudo apt install g++-10 gcc+-10
sudo apt install libboost-dev libboost-program-options-dev libopencv-dev
export CC=/usr/bin/gcc-10
export CXX=/usr/bin/g++-10
mkdir build
cd build
cmake /path/to/source/stereo_calib # replace the path with proper one
cmake --build .
./stereo_calib --help