nickcharron / waypoint_nav

This package performs outdoor GPS waypoint navigation using move_base, robot_localization, gmapping and others. It can navigate while building a map, avoiding obstacles, and can navigate continuously between each goal.
325 stars 151 forks source link

CMake Error for noetic #14

Open zhughesjd opened 3 years ago

zhughesjd commented 3 years ago

Using ROS - noetic After cloning waypoint_nav, I get the following error after running catkin_make:

################################### ################################### ###################################

-- +++ processing catkin package: 'gmapping' -- ==> add_subdirectory(waypoint_nav/slam_gmapping/gmapping) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy CMake Error at /lib/aarch64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package): Could not find a package configuration file provided by "boost_signals" (requested version 1.71.0) with any of the following names:

boost_signalsConfig.cmake
boost_signals-config.cmake

Add the installation prefix of "boost_signals" to CMAKE_PREFIX_PATH or set "boost_signals_DIR" to a directory containing one of the above files. If "boost_signals" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /lib/aarch64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:182 (boost_find_component) /usr/share/cmake-3.16/Modules/FindBoost.cmake:443 (find_package) waypoint_nav/slam_gmapping/gmapping/CMakeLists.txt:6 (find_package)

f-tassan commented 2 years ago

I am having the same issue here. Any updates on this? Also using ROS Noetic.

YXGuan commented 2 years ago

Not sure if this link is helpful

YXGuan commented 2 years ago

https://github.com/ros/geometry2/pull/354

CJdev99 commented 1 year ago

For anyone that runs into this issue in the future, here is how I got this to work on Noetic:

navigate to /home/{user}/catkin_ws/src/waypoint_nav/hector_slam/hector_mapping_nav/CmakeLists.txt

comment out the following line as signals was removed from boost in the version noetic runs on:

find_package(Boost REQUIRED COMPONENTS thread signals)

cd ~/catkin_ws/
catkin_make

Mine built correctly, have yet to run the package yet.

YXGuan commented 1 year ago

For anyone that runs into this issue in the future, here is how I got this to work on Noetic:

* in your workspace: git clone https://github.com/nickcharron/waypoint_nav.git

navigate to /home/{user}/catkin_ws/src/waypoint_nav/hector_slam/hector_mapping_nav/CmakeLists.txt

comment out the following line as signals was removed from boost in the version noetic runs on:

find_package(Boost REQUIRED COMPONENTS thread signals)

cd ~/catkin_ws/
catkin_make

Mine built correctly, have yet to run the package yet.

Thank you very much!

CJdev99 commented 1 year ago

No problem. @nickcharron You don't see any issues with this do you? Signals is not used in Boost 1.69+ I believe. I can create a noetic-devel branch so future noetic users don't need to do that extra step if you would like.