Robotics StackExchange | Archived questions

Failure while processing catkin package ROSOUT

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/Installing%20ROS%20Kinetic%20on%20the%20Raspberry%20Pi.

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 ~/roscatkinws, 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/catkinmakeisolated --install -DCMAKEBUILDTYPE=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 cmakecheckbuildsystem in '/home/pi/roscatkinws/buildisolated/rosout' ==> make -j4 -l4 in '/home/pi/roscatkinws/buildisolated/rosout' [ 50%] Linking CXX executable /home/pi/roscatkinws/develisolated/rosout/lib/rosout/rosout /usr/bin/ld: warning: libboostsystem.so.1.67.0, needed by /opt/ros/kinetic/lib/libcppcommon.so, may conflict with libboostsystem.so.1.58.0 /usr/bin/ld: warning: libboostthread.so.1.67.0, needed by /opt/ros/kinetic/lib/libcppcommon.so, may conflict with libboostthread.so.1.58.0 /usr/bin/ld: warning: libboostchrono.so.1.67.0, needed by /opt/ros/kinetic/lib/libcppcommon.so, may conflict with libboostchrono.so.1.58.0 /usr/bin/ld: warning: libboostdatetime.so.1.67.0, needed by /opt/ros/kinetic/lib/libcppcommon.so, may conflict with libboostdatetime.so.1.58.0 /usr/bin/ld: warning: libboostatomic.so.1.67.0, needed by /opt/ros/kinetic/lib/libcppcommon.so, may conflict with libboostatomic.so.1.58.0 /usr/bin/ld: /opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::redetail::cppregextraitsimplementation::transformprimaryabi:cxx11 const' /usr/bin/ld: /opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::redetail::cppregextraitsimplementation::transformabi:cxx11 const' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/rosout.dir/build.make:103: /home/pi/roscatkinws/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/roscatkinws/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

Asked by rayrv9a on 2019-12-13 15:29:23 UTC

Comments

Answers

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/08/01/installing-ros-melodic-on-raspberry-pi-4-and-rplidar-a1m8/

Asked by rayrv9a on 2019-12-14 16:06:49 UTC

Comments