We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to google::protobuf::internal::RegisterAllTypes(google::protobuf::Metadata const*, int)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox.so: undefined reference to google::protobuf::io::CodedOutputStream::WriteVarint32SlowPath(unsigned int)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to google::protobuf::internal::WireFormat::SerializeUnknownFields(google::protobuf::UnknownFieldSet const&, google::protobuf::io::CodedOutputStream*)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox.so: undefined reference to google::protobuf::io::CodedOutputStream::CodedOutputStream(google::protobuf::io::ZeroCopyOutputStream*)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to google::protobuf::internal::ArenaImpl::AllocateAligned(unsigned long)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to 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**)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void ()(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&))' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/test_load_esdf.dir/build.make:90:/home/dji/catkin_ws/devel/lib/voxblox/test_load_esdf] 错误 1 make[1]: *** [CMakeFiles/Makefile2:500:CMakeFiles/test_load_esdf.dir/all] 错误 2 make[1]: *** 正在等待未完成的任务.... [100%] ^[[32m^[[1mLinking CXX executable /home/dji/catkin_ws/devel/lib/voxblox/tsdf_to_esdf^[[0m /usr/bin/ld: CMakeFiles/tsdf_to_esdf.dir/test/tsdf_to_esdf.cc.o: in function char* google::protobuf::Arena::CreateInternalRawArray<char>(unsigned long)': /usr/include/google/protobuf/arena.h:588: undefined reference to google::protobuf::internal::ArenaImpl::AllocateAligned(unsigned long)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to google::protobuf::internal::RegisterAllTypes(google::protobuf::Metadata const*, int)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox.so: undefined reference to google::protobuf::io::CodedOutputStream::WriteVarint32SlowPath(unsigned int)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to google::protobuf::internal::WireFormat::SerializeUnknownFields(google::protobuf::UnknownFieldSet const&, google::protobuf::io::CodedOutputStream*)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox.so: undefined reference to google::protobuf::io::CodedOutputStream::CodedOutputStream(google::protobuf::io::ZeroCopyOutputStream)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to 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::Metadata*, google::protobuf::EnumDescriptor const**, google::protobuf::ServiceDescriptor const**)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&))' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/tsdf_to_esdf.dir/build.make:90:/home/dji/catkin_ws/devel/lib/voxblox/tsdf_to_esdf] 错误 1
google::protobuf::internal::RegisterAllTypes(google::protobuf::Metadata const*, int)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox.so: undefined reference to
google::protobuf::internal::WireFormat::SerializeUnknownFields(google::protobuf::UnknownFieldSet const&, google::protobuf::io::CodedOutputStream*)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox.so: undefined reference to
google::protobuf::internal::ArenaImpl::AllocateAligned(unsigned long)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
char* google::protobuf::Arena::CreateInternalRawArray<char>(unsigned long)': /usr/include/google/protobuf/arena.h:588: undefined reference to
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::Metadata*, google::protobuf::EnumDescriptor const**, google::protobuf::ServiceDescriptor const**)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
编译报错
The text was updated successfully, but these errors were encountered:
解决了嘛 我也遇到了同样的问题
Sorry, something went wrong.
No branches or pull requests
usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
google::protobuf::internal::RegisterAllTypes(google::protobuf::Metadata const*, int)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox.so: undefined reference to
google::protobuf::io::CodedOutputStream::WriteVarint32SlowPath(unsigned int)'/usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
google::protobuf::internal::WireFormat::SerializeUnknownFields(google::protobuf::UnknownFieldSet const&, google::protobuf::io::CodedOutputStream*)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox.so: undefined reference to
google::protobuf::io::CodedOutputStream::CodedOutputStream(google::protobuf::io::ZeroCopyOutputStream*)'/usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
google::protobuf::internal::ArenaImpl::AllocateAligned(unsigned long)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
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**)'/usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void ()(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&))'collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/test_load_esdf.dir/build.make:90:/home/dji/catkin_ws/devel/lib/voxblox/test_load_esdf] 错误 1
make[1]: *** [CMakeFiles/Makefile2:500:CMakeFiles/test_load_esdf.dir/all] 错误 2
make[1]: *** 正在等待未完成的任务....
[100%] ^[[32m^[[1mLinking CXX executable /home/dji/catkin_ws/devel/lib/voxblox/tsdf_to_esdf^[[0m
/usr/bin/ld: CMakeFiles/tsdf_to_esdf.dir/test/tsdf_to_esdf.cc.o: in function
char* google::protobuf::Arena::CreateInternalRawArray<char>(unsigned long)': /usr/include/google/protobuf/arena.h:588: undefined reference to
google::protobuf::internal::ArenaImpl::AllocateAligned(unsigned long)'/usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
google::protobuf::internal::RegisterAllTypes(google::protobuf::Metadata const*, int)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox.so: undefined reference to
google::protobuf::io::CodedOutputStream::WriteVarint32SlowPath(unsigned int)'/usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
google::protobuf::internal::WireFormat::SerializeUnknownFields(google::protobuf::UnknownFieldSet const&, google::protobuf::io::CodedOutputStream*)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox.so: undefined reference to
google::protobuf::io::CodedOutputStream::CodedOutputStream(google::protobuf::io::ZeroCopyOutputStream)'/usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
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::Metadata*, google::protobuf::EnumDescriptor const**, google::protobuf::ServiceDescriptor const**)' /usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to
google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*)'/usr/bin/ld: /home/dji/catkin_ws/devel/lib/libvoxblox_proto.so: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&))'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/tsdf_to_esdf.dir/build.make:90:/home/dji/catkin_ws/devel/lib/voxblox/tsdf_to_esdf] 错误 1
编译报错
The text was updated successfully, but these errors were encountered: