编译cartographer的时候报这个
MakeFiles/cartographer_compute_relations_metrics.dir/cartographer/ground_truth/compute_relations_metrics_main.cc.o:在函数‘cartographer::ground_truth::(anonymous namespace)::Run(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool, bool)’中:
compute_relations_metrics_main.cc:(.text+0xb76):对‘google::protobuf::Message::ParseFromIstream(std::istream*)’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘cartographer::ground_truth::proto::Relation::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const’中:
relations.pb.cc:(.text+0xd2):对‘google::protobuf::internal::proto3_preserve_unknown’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘cartographer::ground_truth::proto::GroundTruth::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const’中:
relations.pb.cc:(.text+0x14b):对‘google::protobuf::internal::proto3_preserve_unknown’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘protobuf_cartographer_2fground_5ftruth_2fproto_2frelations_2eproto::AddDescriptorsImpl()’中:
relations.pb.cc:(.text+0x1e9):对‘google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void ()(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&))’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘protobuf_cartographer_2fground_5ftruth_2fproto_2frelations_2eproto::protobuf_AssignDescriptors()’中:
relations.pb.cc:(.text+0x47f):对‘google::protobuf::internal::AssignDescriptors(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, google::protobuf::internal::MigrationSchema const, google::protobuf::Message const* const*, unsigned int const*, google::protobuf::Metadata*, google::protobuf::EnumDescriptor const**, google::protobuf::ServiceDescriptor const**)’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘cartographer::ground_truth::proto::Relation::InternalSerializeWithCachedSizesToArray(bool, unsigned char*) const’中:
relations.pb.cc:(.text+0x19a9):对‘google::protobuf::internal::proto3_preserve_unknown’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘cartographer::ground_truth::proto::GroundTruth::InternalSerializeWithCachedSizesToArray(bool, unsigned char*) const’中:
relations.pb.cc:(.text+0x1a42):对‘google::protobuf::internal::proto3_preserve_unknown’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘cartographer::ground_truth::proto::Relation::ByteSizeLong() const’中:
relations.pb.cc:(.text+0x1b23):对‘google::protobuf::internal::proto3_preserve_unknown_’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘cartographer::ground_truth::proto::GroundTruth::ByteSizeLong() const’中:
relations.pb.cc:(.text+0x1bd3):对‘google::protobuf::internal::proto3_preserve_unknown_’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘cartographer::ground_truth::proto::Relation::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const’中:
relations.pb.cc:(.text+0xe9):对‘google::protobuf::internal::WireFormat::SerializeUnknownFields(google::protobuf::UnknownFieldSet const&, google::protobuf::io::CodedOutputStream*)’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘cartographer::ground_truth::proto::GroundTruth::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const’中:
relations.pb.cc:(.text+0x166):对‘google::protobuf::internal::WireFormat::SerializeUnknownFields(google::protobuf::UnknownFieldSet const&, google::protobuf::io::CodedOutputStream*)’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘protobuf_cartographer_2fground_5ftruth_2fproto_2frelations_2eproto::protobuf_RegisterTypes(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’中:
relations.pb.cc:(.text+0x2ba):对‘google::protobuf::internal::RegisterAllTypes(google::protobuf::Metadata const*, int)’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘cartographer::ground_truth::proto::Relation::InternalSerializeWithCachedSizesToArray(bool, unsigned char*) const’中:
relations.pb.cc:(.text+0x19bb):对‘google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*)’未定义的引用
libcartographer.a(relations.pb.cc.o):在函数‘cartographer::ground_truth::proto::GroundTruth::InternalSerializeWithCachedSizesToArray(bool, unsigned char*) const’中:
relations.pb.cc:(.text+0x1a5d):对‘google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*)’未定义的引用