make: *** [.build_release/tools/convert_imageset.bin] Error 1
std...stringconstgoogle
:.:build_releaseprotobuf/:tools:/iocaffe.oCodedOutputStream噇潛檕尮?stdstringgoogleMakeCheckOpString<
cudaError, cudaError>(cudaError const&, cudaError const&, char const*)’中:
caffe.cpp:(collect2: error: ld returned 1 exit status
.text._ZN6google17MakeCheckOpStringI9cudaErrorS1_EEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringI9cudaErrorS1_EEPSsRKT_RKT0_PKc]+0x43):對‘google::base::CheckOpMessageBuilder::NewString()’未定義的參考
.build_release/tools/caffe.o:在函式‘std::string* google::MakeCheckOpString<unsigned long, int>(unsigned long const&, int const&, char const*)’中:
caffe.cpp:(.text._ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc]+0x43):對‘google::base::CheckOpMessageBuilder::NewString()’未定Makefile:625: recipe for target '.build_release/tools/compute_image_mean.bin' failed
make: *** [.build_release/tools/compute_image_mean.bin] Error 1
參考
.build_release/tools/caffe.o:在函式‘main’中:
caffe.cpp:(.text.startup+0x3e):對‘google::SetVersionString(std::string const&)’未定義的參考
caffe.cpp:(.text.startup+0x6e):對‘google::SetUsageMessage(std::string const&)’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::Message::InitializationErrorString() const’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*, std::string*)’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::Message::GetTypeName() const’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::Message::DebugString() const’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::internal::empty_string_’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::MessageLite::ParseFromString(std::string const&)’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::DescriptorPool::FindFileByName(std::string const&) const’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::internal::StringTypeHandlerBase::Delete(std::string*)’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))’未定義的參考
.build_release/lib/libcaffe.so:對‘leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)’未定義的參考
.build_release/lib/libcaffe.so:對‘leveldb::Status::ToString() const’未定義的參考
.build_release/lib/libcaffe.so:對‘google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)’未定義的參考
collect2: error: ld returned 1 exit status
Makefile:625: recipe for target '.build_release/tools/caffe.bin' failed
make: *** [.build_release/tools/caffe.bin] Error 1
完整報錯是這樣的 我一開始給gcc g++降級了,cuda是8,不知道亂碼是什么原因,cuda那個難道是降級不行,只能按網上說的黑了?還有如果是gcc的問題,是不是14。04就會好點呢?
跪求大神幫忙

uj5u.com熱心網友回復:
你換一下權限試試uj5u.com熱心網友回復:
解決了嗎??我也遇到這問題。轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/284558.html
標籤:機器視覺