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

asked 2021-07-14 02:00:43 -0500

yo4hi6o gravatar image

I am a ROS beginner. When executing catkin_make, 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. 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
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by yo4hi6o
close date 2021-07-14 18:43:50.004141

Comments

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

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-07-14 16:22:58 -0500 )edit

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/2510...

yo4hi6o gravatar image yo4hi6o  ( 2021-07-14 18:43:41 -0500 )edit