Robotics StackExchange | Archived questions

catkin_package () DEPENDS on'boost' but neither'boost_INCLUDE_DIRS' nor 'boost_LIBRARIES' is defined.

I am a ROS beginner. When executing catkinmake, CMake Warning at /opt/ros/noetic/share/catkin/cmake/catkinpackage.cmake:166 (message): catkinpackage () DEPENDS on'boost' but neither'boostINCLUDEDIRS' nor 'boostLIBRARIES' is defined. Error occurs.

Help me. Thank you very much.

- +++ processing catkin package: 'denso_moveit'
-- ==> add_subdirectory(denso_moveit)
-- +++ processing catkin package: 'vp6242_description'
-- ==> add_subdirectory(vp6242_description)
-- +++ processing catkin package: 'denso_bcap'
-- ==> add_subdirectory(denso_bcap)
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: thread system 
CMake Warning at /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'boost' but neither 'boost_INCLUDE_DIRS' nor
  'boost_LIBRARIES' is defined.
Call Stack (most recent call first):
  /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  denso_bcap/CMakeLists.txt:50 (catkin_package)


-- +++ processing catkin package: 'realtime_tools'
-- ==> add_subdirectory(realtime_tools)
CMake Warning at /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'boost' but neither 'boost_INCLUDE_DIRS' nor
  'boost_LIBRARIES' is defined.
Call Stack (most recent call first):
  /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  realtime_tools/CMakeLists.txt:19 (catkin_package)


-- +++ processing catkin package: 'denso_rc7m_controller'
-- ==> add_subdirectory(denso_rc7m_controller)
-- +++ processing catkin package: 'robot_state_publisher'
-- ==> add_subdirectory(robot_state_publisher)
-- Performing Test COMPILER_SUPPORTS

Asked by yo4hi6o on 2021-07-14 02:00:43 UTC

Comments

This information is easily found. Have you tried doing a web search on: ros cmakelists.txt boost ?

Asked by Mike Scheutzow on 2021-07-14 16:22:58 UTC

Dear Mike

Thank you for contacting me. As you say, the same issue was found and resolved. Thank you very much.

https://answers.ros.org/question/251005/cmake-warning-on-boost_include_dirs/

Asked by yo4hi6o on 2021-07-14 18:43:41 UTC

Answers