Building catkin Workspace : failed to process rosout

asked 2019-11-18 15:28:32 -0600

Barul gravatar image

Hello, I am tying to install ROS on my Raspberry Raspbian Buster. I am following this wiki link.

I got this error on step 46/52 : Processing catkin package: 'rosout' while writting the command :

Blockquotesudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic -j2


==> 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 -j2 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: /opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transformabi:cxx11 const'

/usr/bin/ld: /opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail::raise_runtime_error(std::runtime_error const&)'

/usr/bin/ld: /opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail::put_mem_block(void*)'

/usr/bin/ld: /opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,="" std::__cxx11::basic_string<char,="" std::char_traits<char="">, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,="" std::__cxx11::basic_string<char,="" std::char_traits<char="">, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char=""> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char,="" boost::cpp_regex_traits<char=""> > > const&, boost::regex_constants::_match_flags)'

/usr/bin/ld: /opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail::get_mem_block()'

/usr/bin/ld: /opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail::verify_options(unsigned int, boost::regex_constants::_match_flags)'

/usr/bin/ld: /opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail::get_default_error_string(boost::regex_constants::error_type)'

/usr/bin/ld: /opt/ros/kinetic/lib/librosconsole.so: undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transform_primaryabi:cxx11 const' collect2: error: ld returned 1 exit status

make[2]: * [CMakeFiles/rosout.dir/build.make:108: /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', '-j2']' 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 -j2

Command failed, exiting.

I had (just like the previous link says) problem with "'boost/tr1/unordered_set.hpp' file not found", but I installed manually boost 1.58 and passed this problem.

I cannot find anything about this issue on the web. Thanks for your help ! :)

edit retag flag offensive close merge delete