Ask Your Question

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:

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/' 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:, needed by /opt/ros/kinetic/lib/, may conflict with /usr/bin/ld: warning:, needed by /opt/ros/kinetic/lib/, may conflict with /usr/bin/ld: warning:, needed by /opt/ros/kinetic/lib/, may conflict with /usr/bin/ld: warning:, needed by /opt/ros/kinetic/lib/, may conflict with /usr/bin/ld: warning:, needed by /opt/ros/kinetic/lib/, may conflict with /usr/bin/ld: /opt/ros/kinetic/lib/ 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/ 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/', '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/ 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

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:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 341 times

Last updated: Dec 14 '19