gpmp2 icon indicating copy to clipboard operation
gpmp2 copied to clipboard

Cmake unable to find boost::chrono lib file

Open viswans2132 opened this issue 2 years ago • 2 comments

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.

viswans2132 avatar Mar 19 '22 19:03 viswans2132

This fixed it for me as well. Not sure as to why

h2jaafar avatar May 16 '22 15:05 h2jaafar

Very good. This fixed it for me as well.

YPJ-18B901033 avatar Jan 15 '24 02:01 YPJ-18B901033