Error when installing ROS indigo on Raspberry Pi3:Pluginlib

asked 2017-07-10 09:40:28 -0500

yaqing gravatar image

eh.. I'm a Chinese and the word "未定义的引用" probably means "undefined"

==> Processing catkin package: 'pluginlib' ==> Building with env: '/opt/ros/indigo/env.sh' Makefile exists, skipping explicit cmake invocation... ==> make cmake_check_build_system in '/home/pi/ros_catkin_ws/build_isolated/pluginlib' ==> make -j4 -l4 in '/home/pi/ros_catkin_ws/build_isolated/pluginlib' [ 50%] Linking CXX executable /home/pi/ros_catkin_ws/devel_isolated/pluginlib/lib/pluginlib/plugin_tool /opt/ros/indigo/lib/librosconsole.so:对‘boost::re_detail::verify_options(unsigned int, boost::regex_constants::_match_flags)’未定义的引用 /opt/ros/indigo/lib/librosconsole.so:对‘boost::re_detail::get_mem_block()’未定义的引用 /opt/ros/indigo/lib/librosconsole.so:对‘boost::match_results<__gnu_cxx::__normal_iterator<char const*,="" std::string="">, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,="" std::string=""> > > >::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<char const*,="" std::string="">, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,="" std::string=""> > > > const&)’未定义的引用 /opt/ros/indigo/lib/librosconsole.so:对‘boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*,="" std::string="">, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*,="" std::string=""> > >, 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)’未定义的引用 /opt/ros/indigo/lib/librosconsole.so:对‘boost::re_detail::cpp_regex_traits_implementation<char>::transform_primary(char const, char const) const’未定义的引用 /opt/ros/indigo/lib/librosconsole.so:对‘boost::re_detail::get_default_error_string(boost::regex_constants::error_type)’未定义的引用 /opt/ros/indigo/lib/librosconsole.so:对‘boost::re_detail::cpp_regex_traits_implementation<char>::transform(char const, char const) const’未定义的引用 /opt/ros/indigo/lib/librosconsole.so:对‘boost::re_detail::put_mem_block(void)’未定义的引用 /opt/ros/indigo/lib/librosconsole.so:对‘boost::basic_regex<char, boost::regex_traits<char,="" boost::cpp_regex_traits<char=""> > >::do_assign(char const, char const, unsigned int)’未定义的引用 /opt/ros/indigo/lib/librosconsole.so:对‘boost::re_detail::raise_runtime_error(std::runtime_error const&)’未定义的引用 collect2: error: ld returned 1 exit status CMakeFiles/plugin_tool.dir/build.make:138: recipe for target '/home/pi/ros_catkin_ws/devel_isolated/pluginlib/lib/pluginlib/plugin_tool' failed make[2]: [/home/pi/ros_catkin_ws/devel_isolated/pluginlib/lib/pluginlib/plugin_tool] Error 1 CMakeFiles/Makefile2:198: recipe for target 'CMakeFiles/plugin_tool.dir/all' failed make[1]: [CMakeFiles/plugin_tool.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: ** [all] Error 2 <== Failed to process package 'pluginlib': Command '['/opt/ros/indigo/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2

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

Command failed, exiting.

Can anybody solve it?

edit retag flag offensive close merge delete