Gazebo build error when running ./update_nrp build all


#1

[ 97%] Built target VehiclePlugin
[ 97%] Built target LookAtDemoPlugin
[ 97%] Linking CXX executable UNIT_OpensimLink_TEST
[ 97%] Linking CXX executable UNIT_OpensimPhysics_TEST
…/libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference to boost::re_detail::put_mem_block(void*)' ../libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference toboost::re_detail::get_mem_block()’
…/libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference to boost::re_detail::raise_runtime_error(std::runtime_error const&)' ../libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference toboost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >, boost::regex_traits<char, boost::cpp_regex_traits > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits > > const&, boost::regex_constants::_match_flags)’
…/libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference to boost::re_detail::get_default_error_string(boost::regex_constants::error_type)' ../libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference toboost::re_detail::cpp_regex_traits_implementation::transform[abi:cxx11](char const*, char const*) const’
…/libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference to boost::re_detail::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const' ../libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference toboost::re_detail::verify_options(unsigned int, boost::regex_constants::_match_flags)’
…/libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference to boost::re_detail::put_mem_block(void*)' ../libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference toboost::re_detail::get_mem_block()’
…/libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference to boost::re_detail::raise_runtime_error(std::runtime_error const&)' ../libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference toboost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >, boost::regex_traits<char, boost::cpp_regex_traits > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits > > const&, boost::regex_constants::_match_flags)’
…/libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference to boost::re_detail::get_default_error_string(boost::regex_constants::error_type)' ../libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference toboost::re_detail::cpp_regex_traits_implementation::transform[abi:cxx11](char const*, char const*) const’
…/libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference to boost::re_detail::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const' ../libgazebo_physics.so.9.8.0.hbp.3.0.0: undefined reference toboost::re_detail::verify_options(unsigned int, boost::regex_constants::_match_flags)’
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
gazebo/physics/opensim/CMakeFiles/UNIT_OpensimPhysics_TEST.dir/build.make:155: recipe for target ‘gazebo/physics/opensim/UNIT_OpensimPhysics_TEST’ failed
gazebo/physics/opensim/CMakeFiles/UNIT_OpensimLink_TEST.dir/build.make:155: recipe for target ‘gazebo/physics/opensim/UNIT_OpensimLink_TEST’ failed
make[2]: *** [gazebo/physics/opensim/UNIT_OpensimPhysics_TEST] Error 1
make[2]: *** [gazebo/physics/opensim/UNIT_OpensimLink_TEST] Error 1
CMakeFiles/Makefile2:10854: recipe for target ‘gazebo/physics/opensim/CMakeFiles/UNIT_OpensimPhysics_TEST.dir/all’ failed
make[1]: *** [gazebo/physics/opensim/CMakeFiles/UNIT_OpensimPhysics_TEST.dir/all] Error 2
CMakeFiles/Makefile2:10813: recipe for target ‘gazebo/physics/opensim/CMakeFiles/UNIT_OpensimLink_TEST.dir/all’ failed
make[1]: *** [gazebo/physics/opensim/CMakeFiles/UNIT_OpensimLink_TEST.dir/all] Error 2
Makefile:181: recipe for target ‘all’ failed
make: *** [all] Error 2
gazebo
±------------------------- gazebo build FAILED -------------------------------------+
| If you are upgrading from Ubuntu 16 to 18, try removing the gazebo/build folder |
| and relaunch this script. |
±------------------------------------------------------------------------------------+