BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
34.08k stars 18.7k forks source link

Makefile:554: recipe for target '.build_release/lib/libcaffe.so.1.0.0-rc3' failed #6567

Open votuandi opened 6 years ago

votuandi commented 6 years ago

I am compiling Caffe framework to run faster RCNN. I did 'make all j4' and got error: collect2: error: ld returned 1 exit status Makefile:554: recipe for target '.build_release/lib/libcaffe.so.1.0.0-rc3' failed make: *** [.build_release/lib/libcaffe.so.1.0.0-rc3] Error 1

I'm a newbie in deep learning. Please help me. Thanks so much!

Walid-Ahmed commented 5 years ago

I am facing the same exact error. Any luck?

atinesh-s commented 5 years ago

I was also facing such error this worked for me

suryawanshiswapnil commented 3 years ago

I solved my issue check out this Link https://stackoverflow.com/questions/35886943/caffe-usr-bin-ld-cannot-find-lcblas Its happen because of you not given proper BLAS choice I just selected open Blas and given Proper path from my mac checkout below code BLAS choice: atlas for ATLAS (default) mkl for MKL open for OpenBlas BLAS := open Custom (MKL/ATLAS/OpenBLAS) include and lib directories. Leave commented to accept the defaults for your choice of BLAS (which should work)! BLAS_INCLUDE := /usr/local/Cellar/openblas/0.3.15_1/include BLAS_LIB := /usr/local/Cellar/openblas/0.3.15_1/lib