“make all” error : symbol(s) not found for architecture x86_64

260 views
Skip to first unread message

Yogaliew

unread,
Jan 14, 2015, 7:10:02 PM1/14/15
to caffe...@googlegroups.com

Undefined symbols for architecture x86_64:
"cv::imread(std::string const&, int)", referenced from:
caffe::WindowDataLayer::InternalThreadEntry() in window_data_layer.o
caffe::WindowDataLayer::InternalThreadEntry() in window_data_layer.o
caffe::ReadImageToDatum(std::string const&, int, int, int, bool, caffe::Datum) in io.o
"leveldb::DB::Open(leveldb::Options const&, std::string const&, leveldb::DB
)", referenced from:
caffe::DataLayer::DataLayerSetUp(std::vectorcaffe::Blob<float
, std::allocatorcaffe::Blob<float> > const&, std::vectorcaffe::Blob<float, std::allocatorcaffe::Blob<float> >) in data_layer.o
caffe::DataLayer::DataLayerSetUp(std::vectorcaffe::Blob<double, std::allocatorcaffe::Blob<double> > const&, std::vectorcaffe::Blob<double, std::allocatorcaffe::Blob<double> >) in data_layer.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/lib/libcaffe.so] Error 1

Does anyone know how to solve this problem?

$brew config

HOMEBREW_VERSION: 0.9.5

ORIGIN: https://github.com/Homebrew/homebrew

HEAD: 2f997f85fb94a1a8fe0ae91d0a6ef694a6abebd5

Last commit: 6 hours ago

HOMEBREW_PREFIX: /usr/local

HOMEBREW_CELLAR: /usr/local/Cellar

CPU: quad-core 64-bit haswell

OS X: 10.10.1-x86_64

Xcode: 6.1.1

CLT: 6.1.1.0.1.1416017670

Clang: 6.0 build 600

X11: 2.7.7 => /opt/X11

System Ruby: 2.0.0-p481

Perl: /usr/bin/perl

Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/bin/python2.7

Ruby: /usr/bin/ruby

Thanks in advance.

Message has been deleted

Mohammad

unread,
Mar 6, 2015, 12:20:25 PM3/6/15
to caffe...@googlegroups.com
Same Problem here, have tried a lot of suggestions with no success ...
Reply all
Reply to author
Forward
0 new messages