Skip to content

Instantly share code, notes, and snippets.

@reking
Last active August 29, 2015 14:08
Show Gist options
  • Save reking/7ff32dcce1f516dec379 to your computer and use it in GitHub Desktop.
Save reking/7ff32dcce1f516dec379 to your computer and use it in GitHub Desktop.
make output of matcaffe
Undefined symbols for architecture x86_64:
"google::protobuf::io::CodedOutputStream::WriteStringWithSizeToArray(std::string const&, unsigned char*)", referenced from:
caffe::Datum::SerializeWithCachedSizesToArray(unsigned char*) const in libcaffe.a(caffe.pb.o)
caffe::FillerParameter::SerializeWithCachedSizesToArray(unsigned char*) const in libcaffe.a(caffe.pb.o)
caffe::NetParameter::SerializeWithCachedSizesToArray(unsigned char*) const in libcaffe.a(caffe.pb.o)
caffe::SolverParameter::SerializeWithCachedSizesToArray(unsigned char*) const in libcaffe.a(caffe.pb.o)
caffe::SolverState::SerializeWithCachedSizesToArray(unsigned char*) const in libcaffe.a(caffe.pb.o)
caffe::NetState::SerializeWithCachedSizesToArray(unsigned char*) const in libcaffe.a(caffe.pb.o)
caffe::NetStateRule::SerializeWithCachedSizesToArray(unsigned char*) const in libcaffe.a(caffe.pb.o)
...
"google::protobuf::internal::empty_string_", referenced from:
caffe::Datum::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::Datum::MergeFrom(caffe::Datum const&) in libcaffe.a(caffe.pb.o)
caffe::Datum::~Datum() in libcaffe.a(caffe.pb.o)
caffe::Datum::SharedDtor() in libcaffe.a(caffe.pb.o)
caffe::Datum::Clear() in libcaffe.a(caffe.pb.o)
caffe::Datum::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*) in libcaffe.a(caffe.pb.o)
caffe::NetParameter::SharedCtor() in libcaffe.a(caffe.pb.o)
...
"google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)", referenced from:
caffe::Datum::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libcaffe.a(caffe.pb.o)
"google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)", referenced from:
caffe::FillerParameter::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libcaffe.a(caffe.pb.o)
caffe::NetParameter::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libcaffe.a(caffe.pb.o)
caffe::SolverParameter::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libcaffe.a(caffe.pb.o)
caffe::SolverState::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libcaffe.a(caffe.pb.o)
caffe::LayerParameter::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libcaffe.a(caffe.pb.o)
caffe::TransformationParameter::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libcaffe.a(caffe.pb.o)
caffe::DataParameter::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const in libcaffe.a(caffe.pb.o)
...
"google::protobuf::internal::InitEmptyString()", referenced from:
caffe::Datum::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::FillerParameter::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::NetParameter::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::SolverParameter::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::SolverState::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::NetState::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::NetStateRule::SharedCtor() in libcaffe.a(caffe.pb.o)
...
"google::protobuf::internal::empty_string_once_init_", referenced from:
caffe::Datum::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::FillerParameter::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::NetParameter::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::SolverParameter::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::SolverState::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::NetState::SharedCtor() in libcaffe.a(caffe.pb.o)
caffe::NetStateRule::SharedCtor() in libcaffe.a(caffe.pb.o)
...
"google::protobuf::io::CodedInputStream::BytesUntilTotalBytesLimit() const", referenced from:
bool google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<float, (google::protobuf::internal::WireFormatLite::FieldType)2>(google::protobuf::io::CodedInputStream*, google::protobuf::RepeatedField<float>*) in libcaffe.a(caffe.pb.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
mex: link of ' "matlab/caffe/caffe.mexmaci64"' failed.
make: *** [matlab/caffe/caffe.mexmaci64] Error 255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment