gtrll / gpmp2

Gaussian Process Motion Planner 2
Other
310 stars 97 forks source link

Cmake unable to find boost::chrono lib file #60

Open viswans2132 opened 2 years ago

viswans2132 commented 2 years ago

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.

h2jaafar commented 2 years ago

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

YPJ-18B901033 commented 8 months ago

Very good. This fixed it for me as well.