Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GrumpyZhou opened this issue Apr 22, 2017 · 0 comments
Open

Comments

@GrumpyZhou
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant