One of JuPedSim's requirements is Boost.
In order to make sure that this library is properly installed, this minimal working example can be very handy.
using namespace boost::geometry;
std::cout << "Using Boost "
<< BOOST_VERSION / 100000 << "." // major version
<< BOOST_VERSION / 100 % 1000 << "." // minor version
<< BOOST_VERSION % 100 // patch level
Using the following CMakeLists.txt
the compilation of the aforementioned file goes like
It is also possible to compile the code directly without passing by CMake, however since it is used with JuPedSim, it is a
good idea to test it here too.