Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
viswans2132 opened this issue Mar 19, 2022 · 2 comments
Open

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

viswans2132 opened this issue Mar 19, 2022 · 2 comments

Comments

@viswans2132
Copy link

viswans2132 commented Mar 19, 2022

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
Copy link

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

@YaPeJu
Copy link

YaPeJu commented Jan 15, 2024

Very good. This fixed it for me as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants