小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
一键安装cartographer后,编译报错
-
probability_grid_range_data_inserter_options_2d.pb.cc:(.text+0x52f):对‘google::protobuf::internal::AssignDescriptors(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google::protobuf::internal::MigrationSchema const*, google::protobuf::Message const* const*, unsigned int const*, google::protobuf::MessageFactory*, google::protobuf::Metadata*, google::protobuf::EnumDescriptor const**, google::protobuf::ServiceDescriptor const**)’未定义的引用
libcartographer.a(probability_grid_range_data_inserter_options_2d.pb.cc.o):在函数‘cartographer::mapping::proto::ProbabilityGridRangeDataInserterOptions2D::descriptor()’中:
probability_grid_range_data_inserter_options_2d.pb.cc:(.text+0x691):对‘google::protobuf::GoogleOnceInitImpl(long*, google::protobuf::Closure*)’未定义的引用
collect2: error: ld returned 1 exit status
[223/381] Building CXX object CMakeFil...r/common/configuration_files_test.cc.o
ninja: build stopped: subcommand failed.
<== Failed to process package 'cartographer':
Command '['ninja', '-j8', '-l8']' returned non-zero exit status 1Reproduce this error by running:
==> cd /home/wbb/cartographer_ws/build_isolated/cartographer && ninja -j8 -l8Command failed, exiting.