moveit_tutorials icon indicating copy to clipboard operation
moveit_tutorials copied to clipboard

Getting Started Tutorial: Catkin build fails with CMake Errors

Open hedaniel7 opened this issue 2 years ago • 4 comments

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

hedaniel7 avatar May 24 '23 14:05 hedaniel7

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

welcome[bot] avatar May 24 '23 14:05 welcome[bot]

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

rhaschke avatar May 24 '23 15:05 rhaschke

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

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

hedaniel7 avatar May 25 '23 11:05 hedaniel7

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.

rhaschke avatar May 25 '23 12:05 rhaschke