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

Getting Started Tutorial: Catkin build fails with CMake Errors #783

Open
hedaniel7 opened this issue May 24, 2023 · 4 comments
Open

Getting Started Tutorial: Catkin build fails with CMake Errors #783

hedaniel7 opened this issue May 24, 2023 · 4 comments

Comments

@hedaniel7
Copy link

Description

I followed the Getting Started Tutorial twice and produced errors when I tried catkin build . It failed twice with similar CMake Errors:

  • Errors << srdfdom:cmake /home/dan/ws_moveit/logs/srdfdom/build.cmake.000.log
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    Boost_INCLUDE_DIR

  • Errors << rviz_visual_tools:cmake /home/dan/ws_moveit/logs/rviz_visual_tools/build.cmake.000.log (see console outputs posted later for details)

Your environment

  • ROS Distro: Noetic
  • OS Version: Ubuntu 20.04.6 LTS (on Surface Book 3)

Steps to reproduce

I followed this tutorial:
https://ros-planning.github.io/moveit_tutorials/doc/getting_started/getting_started.html

Expected behaviour

It should not have any errors.

Backtrace or Console outputs

1st attempt:
https://gist.github.com/hedaniel7/6c3e55b75568e4c193669beeb06ec849
2nd attempt:
https://gist.github.com/hedaniel7/b2cd9a24342abc0d90bd9d11e769d17c

@welcome
Copy link

welcome bot commented May 24, 2023

Thanks for reporting an issue. Because we're a volunteer community, providing a pull request with suggested changes is always welcomed.

@hedaniel7 hedaniel7 changed the title Getting Started Tutorial: Catkin build fails with CMake Error Getting Started Tutorial: Catkin build fails with CMake Errors May 24, 2023
@rhaschke
Copy link
Contributor

Looks like you are missing a correct boost installation. Please check that!

@hedaniel7
Copy link
Author

hedaniel7 commented May 25, 2023

https://gist.github.com/hedaniel7/7d4b5369a8fd8835b50a1a45535da9f8

The Boost installation seemed fine. I even reinstalled it and I still get the same errors

@rhaschke
Copy link
Contributor

We cannot help more than pointing out possible issues. You need to check your boost installation. Verify that cmake finds the correct one. As you see from our CI build, the code works as expected.

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

2 participants