caffe-posenet icon indicating copy to clipboard operation
caffe-posenet copied to clipboard

clang: error: linker command failed with exit code 1 during 'make all'

Open GrumpyZhou opened this issue 7 years ago • 0 comments

I have caffe installed on my Macbook air already and now I tried to install caffe-posenet. However, I get this error: CXX/LD -o .build_release/tools/caffe.bin clang: warning: argument unused during compilation: '-pthread' Undefined symbols for architecture x86_64: "caffe::Net<float>::Net(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, caffe::Phase, caffe::Net<float> const*)", referenced from: test() in caffe.o time() in caffe.o "caffe::Layer<float>::Lock()", referenced from: caffe::Layer<float>::Forward(std::__1::vector<caffe::Blob<float>*, std::__1::allocator<caffe::Blob<float>*> > const&, std::__1::vector<caffe::Blob<float>*, std::__1::allocator<caffe::Blob<float>*> > const&) in caffe.o "caffe::Layer<float>::Unlock()", referenced from: caffe::Layer<float>::Forward(std::__1::vector<caffe::Blob<float>*, std::__1::allocator<caffe::Blob<float>*> > const&, std::__1::vector<caffe::Blob<float>*, std::__1::allocator<caffe::Blob<float>*> > const&) in caffe.o "caffe::P2PSync<float>::run(std::__1::vector<int, std::__1::allocator<int> > const&)", referenced from: train() in caffe.o "caffe::P2PSync<float>::P2PSync(boost::shared_ptr<caffe::Solver<float> >, caffe::P2PSync<float>*, caffe::SolverParameter const&)", referenced from: train() in caffe.o "caffe::P2PSync<float>::~P2PSync()", referenced from: train() in caffe.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [.build_release/tools/caffe.bin] Error 1 Do you have any suggestion how I can solve it? Or do you know any way to get a trained posenet model weight in .npy format so that I don't have to execute the model ? Thanks!

GrumpyZhou avatar Apr 22 '17 20:04 GrumpyZhou