Open Saeed-Mansouri opened 4 years ago
Which OS are you using? The compilation of OpenHRP3 is tested only with ubuntu 16.04 and 18.04.
I'm using Ubuntu 16.04
You seem to have cmake and boost which are newer than packages provided by ubuntu. They might be causing the error.
我正在使用Ubuntu 16.04
I have also encountered this problem. May I ask you how to solve it?
It's hard to answer as I don't know your environment.
It's hard to answer as I don't know your environment.
I also use Ubuntu 16.04. When I used ROS, I installed boost 1.58, and then I installed boost 1.70 myself
If using boost 1.58 is ok for you, you can configure cmake so that it doesn't search .cmake files under /usr/local/lib/cmake.
Boost 1.69.0 Changelog announces the signal library removal. Use boost-signals2 instead. Refer to https://stackoverflow.com/questions/27252213/cmake-can-not-find-boostsignals2 to switch to signals2 in CMakeLists.txt.
I have the same issue when using the Ubuntu 20.04
I tried to reproduce this issue with Ubuntu20.04 but I couldn't.
I got an answer here: https://github.com/ros/geometry2/pull/354#issue-400320296 To sum up: I use ubuntu18.04 (boost 1.76.0), and the same error occurs when using catkin_make. The solution is to figure out which file [in the error info: Call Stack (most recent call first)] requires signals, then rm the "signals" in find_packages().
same here with ubuntu 20.04, boost 1.71.0, ros noetic. How did you solve it?
Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: thread
-- Installing devel-space wrapper /home/ros/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/spawn_model to /home/ros/catkin_ws/devel/lib/gazebo_ros
-- +++ processing catkin package: 'amcl'
-- ==> add_subdirectory(navigation_ros/amcl)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0")
-- +++ processing catkin package: 'fake_localization'
-- ==> add_subdirectory(navigation_ros/fake_localization)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at /usr/lib/x86_64-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
Hello, I can see your error. The following printing info may mean that the boost signal is required in navigation_ros/fake_localization.
-- ==> add_subdirectory(navigation_ros/fake_localization) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy CMake Error at /usr/lib/x86_64-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
Thus, you can have a try by removing the "signals" in find_packages() of the navigation_ros/fake_localization related CmakeLists.txt.
Thanks Wenhao12111, commenting
find_package(Boost REQUIRED COMPONENTS signals)
in navigation_ros/fake_navigation/CMakeLists.txt solved the issue!
Glad that helps you.
When I try to run cmake I get this error :
any thoughts ?