caffeのbuildで困っています.
環境はUbuntu15.10でCUDA7.5, cuDNNv3を用いています.
zsh
1> $ make all -j4 [±master ●] 2CXX/LD -o .build_release/tools/upgrade_net_proto_text.bin 3CXX/LD -o .build_release/tools/compute_image_mean.bin 4CXX/LD -o .build_release/tools/finetune_net.bin 5CXX/LD -o .build_release/tools/caffe.bin 6CXX/LD -o .build_release/tools/convert_imageset.bin 7.build_release/tools/compute_image_mean.o: 関数 `std::string* google::MakeCheckOpString<int, int>(int const&, int const&, char const*)' 内: 8compute_image_mean.cpp:(.text._ZN6google17MakeCheckOpStringIiiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringIiiEEPSsRKT_RKT0_PKc]+0x50): `google::base::CheckOpMessageBuilder::NewString()' に対する定義されていない参照です 9.build_release/tools/compute_image_mean.o: 関数 `std::string* google::MakeCheckOpString<unsigned long, int>(unsigned long const&, int const&, char const*)' 内: 10compute_image_mean.cpp:(.text._ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc[_ZN6google17MakeCheckOpStringImiEEPSsRKT_RKT0_PKc]+0x50): `google::base::CheckOpMessageBuilder::NewString()' に対する定義されていない参照です 11.build_release/tools/compute_image_mean.o: 関数 `main' 内: 12compute_image_mean.cpp:(.text.startup+0x168): `google::SetUsageMessage(std::string const&)' に対する定義されていない参照です 13compute_image_mean.cpp:(.text.startup+0x2a1): `google::protobuf::MessageLite::ParseFromString(std::string const&)' に対する定義されていない参照です 14compute_image_mean.cpp:(.text.startup+0x491): `google::protobuf::MessageLite::ParseFromString(std::string const&)' に対する定義されていない参照です 15.build_release/lib/libcaffe.so: `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' に対する定義されていない参照です 16.build_release/lib/libcaffe.so: `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' に対する定義されていない参照です 17.build_release/lib/libcaffe.so: `cv::imread(cv::String const&, int)' に対する定義されていない参照です 18.build_release/lib/libcaffe.so: `google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*, std::string*)' に対する定義されていない参照です 19.build_release/lib/libcaffe.so: `google::protobuf::Message::GetTypeName() const' に対する定義されていない参照です 20.build_release/lib/libcaffe.so: `google::protobuf::internal::StringTypeHandlerBase::Delete(std::string*)' に対する定義されていない参照です 21.build_release/lib/libcaffe.so: `google::protobuf::MessageLite::SerializeToString(std::string*) const' に対する定義されていない参照です 22.build_release/lib/libcaffe.so: `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' に対する定義されていない参照です 23.build_release/lib/libcaffe.so: `cv::imencode(cv::String const&, cv::_InputArray const&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<int, std::allocator<int> > const&)' に対する定義されていない参照です 24.build_release/lib/libcaffe.so: `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' に対する定義されていない参照です 25.build_release/lib/libcaffe.so: `google::protobuf::Message::DebugString() const' に対する定義されていない参照です 26.build_release/lib/libcaffe.so: `google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' に対する定義されていない参照です 27.build_release/lib/libcaffe.so: `google::protobuf::internal::StringTypeHandlerBase::New()' に対する定義されていない参照です 28.build_release/lib/libcaffe.so: `cv::imdecode(cv::_InputArray const&, int)' に対する定義されていない参照です 29.build_release/lib/libcaffe.so: `google::protobuf::internal::empty_string_' に対する定義されていない参照です 30.build_release/lib/libcaffe.so: `google::protobuf::internal::NameOfEnum(google::protobuf::EnumDescriptor const*, int)' に対する定義されていない参照です 31.build_release/lib/libcaffe.so: `google::protobuf::internal::WireFormatLite::WriteString(int, std::string const&, google::protobuf::io::CodedOutputStream*)' に対する定義されていない参照です 32.build_release/lib/libcaffe.so: `leveldb::Status::ToString() const' に対する定義されていない参照です 33.build_release/lib/libcaffe.so: `google::protobuf::DescriptorPool::FindFileByName(std::string const&) const' に対する定義されていない参照です 34.build_release/lib/libcaffe.so: `google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)' に対する定義されていない参照です 35.build_release/lib/libcaffe.so: `google::protobuf::Message::InitializationErrorString() const' に対する定義されていない参照です 36collect2: error: ld returned 1 exit status 37Makefile:607: recipe for target '.build_release/tools/compute_image_mean.bin' failed 38make: *** [.build_release/tools/compute_image_mean.bin] Error 1 39make: *** 未完了のジョブを待っています.... 40.build_release/lib/libcaffe.so: `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' に対する定義されていない参照です 41.build_release/lib/libcaffe.so: `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' に対する定義されていない参照です 42 43caffe.cpp:(.text.startup+0x83): `google::SetUsageMessage(std::string const&)' に対する定義されていない参照です 44.build_release/lib/libcaffe.so: `google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)' に対する定義されていない参照です 45.build_release/lib/libcaffe.so: `google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)' に対する定義されていない参照です 46.build_release/lib/libcaffe.so: `cv::imread(cv::String const&, int)' に対する定義されていない参照です 47.build_release/lib/libcaffe.so: `google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*, std::string*)' に対する定義されていない参照です 48.build_release/lib/libcaffe.so: `google::protobuf::Message::GetTypeName() const' に対する定義されていない参照です 49.build_release/lib/libcaffe.so: `google::protobuf::internal::StringTypeHandlerBase::Delete(std::string*)' に対する定義されていない参照です 50.build_release/lib/libcaffe.so: `google::protobuf::MessageLite::SerializeToString(std::string*) const' に対する定義されていない参照です 51.build_release/lib/libcaffe.so: `google::protobuf::MessageFactory::InternalRegisterGeneratedFile(char const*, void (*)(std::string const&))' に対する定義されていない参照です 52.build_release/lib/libcaffe.so: `cv::imencode(cv::String const&, cv::_InputArray const&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<int, std::allocator<int> > const&)' に対する定義されていない参照です 53.build_release/lib/libcaffe.so: `leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB**)' に対する定義されていない参照です 54.build_release/lib/libcaffe.so: `google::protobuf::M 55.build_release/lib/libcaffe.so: `google::protobuf::Message::InitializationErrorString() const' に対する定義されていない参照です 56collect2: error: ld returned 1 exit status 57Makefile:607: recipe for target '.build_release/tools/convert_imageset.bin' failed 58make: *** [.build_release/tools/convert_imageset.bin] Error 1
インターネットで検索しても解決しておりません.
よろしくお願いします.
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。