ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Failure while processing catkin package ROSOUT

asked 2019-12-13 14:29:23 -0500

rayrv9a gravatar image

updated 2019-12-13 14:32:58 -0500

I am trying to install ROS Kinetic on to a Rasberry Pi4 running Debian Buster by following the instructions located here: https://wiki.ros.org/ROSberryPi/Insta....

The compilation initially failed because ROSDEP installed libboost1.67 and so I got this error: "'boost/tr1/unordered_set.hpp' file not found".

So, while in the directory ~/ros_catkin_ws, I used sudo apt-get install libboost1.58. This led me to install the libboost dependencies the system called out until libboost1.58 was successfully installed. I then executed sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic -j2 a second time. This time, I no longer received the error message that the compiler could not find libboost. But, when it tried to process the catkin package ROSOUT I now get the following compiler error message:

"==> Processing catkin package: 'rosout' ==> Building with env: '/opt/ros/kinetic/env.sh' Makefile exists, skipping explicit cmake invocation... ==> make cmake_check_build_system in '/home/pi/ros_catkin_ws/build_isolated/rosout' ==> make -j4 -l4 in '/home/pi/ros_catkin_ws/build_isolated/rosout' [ 50%] Linking CXX executable /home/pi/ros_catkin_ws/devel_isolated/rosout/lib/rosout/rosout /usr/bin/ld: warning: libboost_system.so.1.67.0, needed by /opt/ros/kinetic/lib/libcpp_common.so, may conflict with libboost_system.so.1.58.0 /usr/bin/ld: warning: libboost_thread.so.1.67.0, needed by /opt/ros/kinetic/lib/libcpp_common.so, may conflict with libboost_thread.so.1.58.0 /usr/bin/ld: warning: libboost_chrono.so.1.67.0, needed by /opt/ros/kinetic/lib/libcpp_common.so, may conflict with libboost_chrono.so.1.58.0 /usr/bin/ld: warning: libboost_date_time.so.1.67.0, needed by /opt/ros/kinetic/lib/libcpp_common.so, may conflict with libboost_date_time.so.1.58.0 /usr/bin/ld: warning: libboost_atomic.so.1.67.0, needed by /opt/ros/kinetic/lib/libcpp_common.so, may conflict with libboost_atomic.so.1.58.0 /usr/bin/ld: /opt/ros/kinetic/lib/librosconsole.so: undefined reference to boost::re_detail::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const' /usr/bin/ld: /opt/ros/kinetic/lib/librosconsole.so: undefined reference toboost::re_detail::cpp_regex_traits_implementation<char>::transformabi:cxx11 const' collect2: error: ld returned 1 exit status make[2]: * [CMakeFiles/rosout.dir/build.make:103: /home/pi/ros_catkin_ws/devel_isolated/rosout/lib/rosout/rosout] Error 1 make[1]: [CMakeFiles/Makefile2:73: CMakeFiles/rosout.dir/all] Error 2 make: ** [Makefile:141: all] Error 2 <== Failed to process package 'rosout': Command '['/opt/ros/kinetic/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2

Reproduce this error by running: ==> cd /home/pi/ros_catkin_ws/build_isolated/rosout && /opt/ros/kinetic/env.sh make -j4 -l4

Command failed, exiting."

So now the compiler seems to need libboost1.67 but it was replaced when I manually installed libboost1.58 in order to solve the earlier issue.

How do I resolve this issue? Please note I am not very experienced using Debian, or Catkin workspaces so I would appreciate answers written toward a Newbie?!

Thanks, Ray

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-12-14 15:06:49 -0500

rayrv9a gravatar image

My work-around for this was to install ROS Melodic on my Raspberry Pi4 running Debian Buster. With this configuration, all libboost compile issues have been resolved. I found this tutorial to be excellent:

https://www.seeedstudio.com/blog/2019...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-12-13 14:29:23 -0500

Seen: 803 times

Last updated: Dec 14 '19