سلام
در زمان نصب کفی در لینوکس با خطای زیر مواجه میشوم:
> CMakeFiles/extract_features.dir/extract_features.cpp.o: In function
> `int feature_extraction_pipeline<float>(int, char**)':
> extract_features.cpp:(.text._Z27feature_extraction_pipelineIfEiiPPc[_Z27feature_extraction_pipelineIfEiiPPc]+0xc70):
> undefined reference to
> `google::protobuf::internal::fixed_address_empty_string[abi:cxx11]'
> extract_features.cpp:(.text._Z27feature_extraction_pipelineIfEiiPPc[_Z27feature_extraction_pipelineIfEiiPPc]+0x1474):
> undefined reference to
> `google::protobuf::MessageLite::SerializeToString(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> >*) const'
> ../lib/libcaffe.so.1.0.0: undefined reference to
> `google::protobuf::Message::DebugString[abi:cxx11]() const'
> ../lib/libcaffe.so.1.0.0: undefined reference to
> `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char
> const*, void (*)(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&))'
> ../lib/libcaffe.so.1.0.0: undefined reference to
> `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&,
> google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0:
> undefined reference to
> `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> >*)' ../lib/libcaffe.so.1.0.0: undefined
> reference to
> `google::protobuf::MessageLite::ParseFromString(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&)'
> ../lib/libcaffe.so.1.0.0: undefined reference to
> `google::protobuf::Message::GetTypeName[abi:cxx11]() const'
> ../lib/libcaffe.so.1.0.0: undefined reference to
> `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&, unsigned
> char*)' ../lib/libcaffe.so.1.0.0: undefined reference to
> `google::protobuf::Message::InitializationErrorString[abi:cxx11]()
> const' ../lib/libcaffe.so.1.0.0: undefined reference to
> `google::protobuf::internal::NameOfEnum[abi:cxx11](google::protobuf::EnumDescriptor
> const*, int)' ../lib/libcaffe.so.1.0.0: undefined reference to
> `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&,
> google::protobuf::io::CodedOutputStream*)' ../lib/libcaffe.so.1.0.0:
> 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::MessageFactory*, google::protobuf::Metadata*,
> google::protobuf::EnumDescriptor const**,
> google::protobuf::ServiceDescriptor const**)'
> ../lib/libcaffe.so.1.0.0: undefined reference to
> `google::protobuf::internal::WireFormatLite::WriteString(int,
> std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&,
> google::protobuf::io::CodedOutputStream*)' collect2: error: ld
> returned 1 exit status
> tools/CMakeFiles/extract_features.dir/build.make:135: recipe for
> target 'tools/extract_features' failed make[2]: ***
> [tools/extract_features] Error 1 CMakeFiles/Makefile2:809: recipe for
> target 'tools/CMakeFiles/extract_features.dir/all' failed make[1]: ***
> [tools/CMakeFiles/extract_features.dir/all] Error 2 Makefile:127:
> recipe for target 'all' failed make: *** [all] Error 2