/usr/local/include/google/protobuf/descriptor.h:2159: undefined reference togoogle::protobuf::FieldDescriptor::TypeOnceInit(google::protobuf::FieldDescriptor const*)' src/mcpack2pb/generator.o: In functionmcpack2pb::McpackToProtobuf::Generate(google::protobuf::FileDescriptor const*, std::__cxx1...
main.cpp:(.text._ZN8tutorial6Person22_internal_mutable_nameB5cxx11Ev[_ZN8tutorial6Person22_internal_mutable_nameB5cxx11Ev]+0x48): undefined reference to `google::protobuf::internal::ArenaStringPtr::Mutable[abi:cxx11](google::protobuf::Arena*)' /usr/bin/ld: CMakeFiles/protoc_example.dir...
so: undefined reference to `google::protobuf::internal::PackedEnumParser(void*, char const*, google::protobuf::internal::ParseContext*, bool (*)(int), google::protobuf::internal::InternalMetadataWithArena*, int)' .build_debug/lib/libcaffe-deephi.so: undefined reference to `goo...
esp-idf/protobuf/libprotobuf.a(addressbook.pb.cc.obj):(.literal._ZN8tutorial18Person_PhoneNumberD2Ev+0x4): undefined reference to `google::protobuf::internal::InternalMetadata::CheckedDestruct()' /Users/munir/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/../li...
pb.cc:2672: undefined reference to `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&))' /home/shawn/Documents/HLS_workspace/CHaiDNN/solution1/csim/build/../../...
问题解决:protobuf出现undefined reference 其实能解决的问题都不是什么大问题哈,中英文文档我都翻了,最后解决了。 1、 代码语言:javascript 复制 cd protobuf-2.1.0./configure--prefix=/usr/local/protobuf make make check make install 2、 代码语言:javascript...
.build_release/tools/caffe.o: In function main': caffe.cpp:(.text.startup+0x40): undefined reference togoogle::SetVersionString(std::string const&)' collect2: error: ld returned 1 exit status make: *** [.build_release/tools/caffe.bin] Error 1 Does the gflags library ...
(unsigned char*) const' build/libmessages_robocup_ssl_wrapper.pb.so: undefined reference to `SSL_GeometryData::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)' collect2: ld returned 1 exit status make[2]: ** [clientTest] Erro 1 make[1]: ** [CMakeFiles/clientTest....
(context"golang.org/x/net/context"grpc"google.golang.org/grpc")// Reference imports to suppress errors if they are not otherwise used.var_=proto.Marshalvar_=fmt.Errorfvar_=math.Inf// This is a compile-time assertion to ensure that this generated file// is compatible with the proto ...