gpmp2
gpmp2 copied to clipboard
Cmake unable to find boost::chrono lib file
I use ubuntu 20.04 and I have cloned the latest gpmp2 repository. My boost version is 1.71.0. When I tried to run cmake, it was unable to locate the libraries inside boost::chrono, boost::timer and boost::date_time. I have added the following lines on the CMakeLists.txt to fix them.
find_package(Boost COMPONENTS chrono REQUIRED)
find_package(Boost COMPONENTS date_time REQUIRED)
find_package(Boost COMPONENTS timer REQUIRED)
Then the package was built successfully.
This fixed it for me as well. Not sure as to why
Very good. This fixed it for me as well.