Open zk0803 opened 4 years ago
我出现了这个报错,师兄可以帮忙看看吗 [276/406] Linking CXX executable cartographer_pbstream FAILED: cartographer_pbstream : && /usr/bin/c++ -std=c++11 -O3 -DNDEBUG -rdynamic CMakeFiles/cartographer_pbstream.dir/cartographer/io/pbstream_main.cc.o -o cartographer_pbstream libcartographer.a /usr/local/lib/libceres.a -lglog /usr/lib/x86_64-linux-gnu/libgflags.so.2.2.1 -lspqr -ltbb -ltbbmalloc -lcholmod -lccolamd -lcamd -lcolamd -lamd -llapack -lf77blas -latlas -lsuitesparseconfig -lrt -lcxsparse -llapack -lf77blas -latlas -lsuitesparseconfig -lrt -lcxsparse -lgomp -llua5.2 -lm -lboost_iostreams -lboost_regex -lglog /usr/lib/x86_64-linux-gnu/libgflags.so.2.2.1 -lpthread -lcairo /usr/local/lib/libprotobuf.a abseil/src/abseil-build/absl/synchronization/libabsl_synchronization.a abseil/src/abseil-build/absl/debugging/libabsl_symbolize.a abseil/src/abseil-build/absl/time/libabsl_time.a abseil/src/abseil-build/absl/strings/libstr_format_internal.a abseil/src/abseil-build/absl/strings/libstr_format_extension_internal.a abseil/src/abseil-build/absl/strings/libabsl_str_format.a abseil/src/abseil-build/absl/strings/libabsl_strings.a abseil/src/abseil-build/absl/hash/libabsl_hash.a abseil/src/abseil-build/absl/algorithm/libabsl_algorithm.a abseil/src/abseil-build/absl/base/libabsl_base.a abseil/src/abseil-build/absl/base/libabsl_dynamic_annotations.a abseil/src/abseil-build/absl/base/libabsl_internal_malloc_internal.a abseil/src/abseil-build/absl/base/libabsl_internal_spinlock_wait.a abseil/src/abseil-build/absl/base/libabsl_internal_throw_delegate.a abseil/src/abseil-build/absl/container/libabsl_container.a abseil/src/abseil-build/absl/container/libtest_instance_tracker_lib.a abseil/src/abseil-build/absl/debugging/libabsl_debugging.a abseil/src/abseil-build/absl/debugging/libabsl_examine_stack.a abseil/src/abseil-build/absl/debugging/libabsl_failure_signal_handler.a abseil/src/abseil-build/absl/debugging/libabsl_leak_check.a abseil/src/abseil-build/absl/debugging/libabsl_stack_consumption.a abseil/src/abseil-build/absl/debugging/libabsl_stacktrace.a abseil/src/abseil-build/absl/memory/libabsl_memory.a abseil/src/abseil-build/absl/meta/libabsl_meta.a abseil/src/abseil-build/absl/numeric/libabsl_int128.a abseil/src/abseil-build/absl/numeric/libabsl_numeric.a abseil/src/abseil-build/absl/synchronization/libabsl_synchronization.a abseil/src/abseil-build/absl/types/libabsl_any.a abseil/src/abseil-build/absl/types/libabsl_bad_any_cast.a abseil/src/abseil-build/absl/types/libabsl_bad_optional_access.a abseil/src/abseil-build/absl/types/libabsl_optional.a abseil/src/abseil-build/absl/types/libabsl_span.a abseil/src/abseil-build/absl/types/libabsl_variant.a abseil/src/abseil-build/absl/utility/libabsl_utility.a -lpthread && : libcartographer.a(serialization_format_migration.cc.o):在函数‘cartographer::io::MigrateStreamFormatToVersion1(cartographer::io::ProtoStreamReaderInterface, cartographer::io::ProtoStreamWriterInterface, bool)’中: serialization_format_migration.cc:(.text+0x482c):对‘absl::container_internal::UnsampleSlow(absl::container_internal::HashtablezInfo)’未定义的引用 libcartographer.a(serialization_format_migration.cc.o):在函数‘absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<int, std::vector<cartographer::mapping::proto::SerializedData, std::allocator > >, absl::hash_internal::Hash, std::equal_to, std::allocator<std::pair<int const, std::vector<cartographer::mapping::proto::SerializedData, std::allocator > > > >::~raw_hash_set()’中: serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEED2Ev[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEED5Ev]+0xe6):对‘absl::container_internal::UnsampleSlow(absl::container_internal::HashtablezInfo)’未定义的引用 libcartographer.a(serialization_format_migration.cc.o):在函数‘absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<int, std::vector<cartographer::mapping::proto::SerializedData, std::allocator > >, absl::hash_internal::Hash, std::equal_to, std::allocator<std::pair<int const, std::vector<cartographer::mapping::proto::SerializedData, std::allocator > > > >::prepare_insert(unsigned long)’中: serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x368):对‘absl::container_internal::RecordInsertSlow(absl::container_internal::HashtablezInfo, unsigned long, unsigned long)’未定义的引用 serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x4f8):对‘absl::container_internal::global_next_sample’未定义的引用 serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x55f):对‘absl::container_internal::global_next_sample’未定义的引用 serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x5cb):对‘absl::container_internal::UnsampleSlow(absl::container_internal::HashtablezInfo)’未定义的引用 serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x5d2):对‘absl::container_internal::SampleSlow(long)’未定义的引用 serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x5e5):对‘absl::container_internal::UnsampleSlow(absl::container_internal::HashtablezInfo)’未定义的引用 serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x5f8):对‘absl::container_internal::SampleSlow(long*)’未定义的引用 collect2: error: ld returned 1 exit status [283/406] Building CXX object CMakeFil..._relative_pose_constraint_3d_test.cc.o ninja: build stopped: subcommand failed. <== Failed to process package 'cartographer': Command '['ninja', '-j8', '-l8']' returned non-zero exit status 1
我出现了这个报错,师兄可以帮忙看看吗 [276/406] Linking CXX executable cartographer_pbstream FAILED: cartographer_pbstream : && /usr/bin/c++ -std=c++11 -O3 -DNDEBUG -rdynamic CMakeFiles/cartographer_pbstream.dir/cartographer/io/pbstream_main.cc.o -o cartographer_pbstream libcartographer.a /usr/local/lib/libceres.a -lglog /usr/lib/x86_64-linux-gnu/libgflags.so.2.2.1 -lspqr -ltbb -ltbbmalloc -lcholmod -lccolamd -lcamd -lcolamd -lamd -llapack -lf77blas -latlas -lsuitesparseconfig -lrt -lcxsparse -llapack -lf77blas -latlas -lsuitesparseconfig -lrt -lcxsparse -lgomp -llua5.2 -lm -lboost_iostreams -lboost_regex -lglog /usr/lib/x86_64-linux-gnu/libgflags.so.2.2.1 -lpthread -lcairo /usr/local/lib/libprotobuf.a abseil/src/abseil-build/absl/synchronization/libabsl_synchronization.a abseil/src/abseil-build/absl/debugging/libabsl_symbolize.a abseil/src/abseil-build/absl/time/libabsl_time.a abseil/src/abseil-build/absl/strings/libstr_format_internal.a abseil/src/abseil-build/absl/strings/libstr_format_extension_internal.a abseil/src/abseil-build/absl/strings/libabsl_str_format.a abseil/src/abseil-build/absl/strings/libabsl_strings.a abseil/src/abseil-build/absl/hash/libabsl_hash.a abseil/src/abseil-build/absl/algorithm/libabsl_algorithm.a abseil/src/abseil-build/absl/base/libabsl_base.a abseil/src/abseil-build/absl/base/libabsl_dynamic_annotations.a abseil/src/abseil-build/absl/base/libabsl_internal_malloc_internal.a abseil/src/abseil-build/absl/base/libabsl_internal_spinlock_wait.a abseil/src/abseil-build/absl/base/libabsl_internal_throw_delegate.a abseil/src/abseil-build/absl/container/libabsl_container.a abseil/src/abseil-build/absl/container/libtest_instance_tracker_lib.a abseil/src/abseil-build/absl/debugging/libabsl_debugging.a abseil/src/abseil-build/absl/debugging/libabsl_examine_stack.a abseil/src/abseil-build/absl/debugging/libabsl_failure_signal_handler.a abseil/src/abseil-build/absl/debugging/libabsl_leak_check.a abseil/src/abseil-build/absl/debugging/libabsl_stack_consumption.a abseil/src/abseil-build/absl/debugging/libabsl_stacktrace.a abseil/src/abseil-build/absl/memory/libabsl_memory.a abseil/src/abseil-build/absl/meta/libabsl_meta.a abseil/src/abseil-build/absl/numeric/libabsl_int128.a abseil/src/abseil-build/absl/numeric/libabsl_numeric.a abseil/src/abseil-build/absl/synchronization/libabsl_synchronization.a abseil/src/abseil-build/absl/types/libabsl_any.a abseil/src/abseil-build/absl/types/libabsl_bad_any_cast.a abseil/src/abseil-build/absl/types/libabsl_bad_optional_access.a abseil/src/abseil-build/absl/types/libabsl_optional.a abseil/src/abseil-build/absl/types/libabsl_span.a abseil/src/abseil-build/absl/types/libabsl_variant.a abseil/src/abseil-build/absl/utility/libabsl_utility.a -lpthread && : libcartographer.a(serialization_format_migration.cc.o):在函数‘cartographer::io::MigrateStreamFormatToVersion1(cartographer::io::ProtoStreamReaderInterface, cartographer::io::ProtoStreamWriterInterface, bool)’中: serialization_format_migration.cc:(.text+0x482c):对‘absl::container_internal::UnsampleSlow(absl::container_internal::HashtablezInfo)’未定义的引用 libcartographer.a(serialization_format_migration.cc.o):在函数‘absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<int, std::vector<cartographer::mapping::proto::SerializedData, std::allocator > >, absl::hash_internal::Hash, std::equal_to, std::allocator<std::pair<int const, std::vector<cartographer::mapping::proto::SerializedData, std::allocator > > > >::~raw_hash_set()’中:
serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEED2Ev[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEED5Ev]+0xe6):对‘absl::container_internal::UnsampleSlow(absl::container_internal::HashtablezInfo )’未定义的引用
libcartographer.a(serialization_format_migration.cc.o):在函数‘absl::container_internal::raw_hash_set<absl::container_internal::FlatHashMapPolicy<int, std::vector<cartographer::mapping::proto::SerializedData, std::allocator > >, absl::hash_internal::Hash, std::equal_to, std::allocator<std::pair<int const, std::vector<cartographer::mapping::proto::SerializedData, std::allocator > > > >::prepare_insert(unsigned long)’中:
serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x368):对‘absl::container_internal::RecordInsertSlow(absl::container_internal::HashtablezInfo, unsigned long, unsigned long)’未定义的引用
serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x4f8):对‘absl::container_internal::global_next_sample’未定义的引用
serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x55f):对‘absl::container_internal::global_next_sample’未定义的引用
serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x5cb):对‘absl::container_internal::UnsampleSlow(absl::container_internal::HashtablezInfo)’未定义的引用
serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x5d2):对‘absl::container_internal::SampleSlow(long)’未定义的引用
serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x5e5):对‘absl::container_internal::UnsampleSlow(absl::container_internal::HashtablezInfo)’未定义的引用
serialization_format_migration.cc:(.text._ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm[_ZN4absl18container_internal12raw_hash_setINS0_17FlatHashMapPolicyIiSt6vectorIN12cartographer7mapping5proto14SerializedDataESaIS7_EEEENS_13hash_internal4HashIiEESt8equal_toIiESaISt4pairIKiS9_EEE14prepare_insertEm]+0x5f8):对‘absl::container_internal::SampleSlow(long*)’未定义的引用
collect2: error: ld returned 1 exit status
[283/406] Building CXX object CMakeFil..._relative_pose_constraint_3d_test.cc.o
ninja: build stopped: subcommand failed.
<== Failed to process package 'cartographer':
Command '['ninja', '-j8', '-l8']' returned non-zero exit status 1