Unable to `make.all` with `cblas.h` file not found error

367 views
Skip to first unread message

Alexey Strakh

unread,
Jul 4, 2017, 2:55:54 PM7/4/17
to Caffe Users
I followed this guide to install `caffe` in my Mac OS 10.12.5
http://caffe.berkeleyvision.org/installation.html

After installing all the dependencies and prerequisites I tried to make.all it and got the following error:

In file included from src/caffe/blob.cpp:7:
In file included from ./include/caffe/util/math_functions.hpp:11:
./include/caffe/util/mkl_alternate.hpp:14:10: fatal error: 'cblas.h' file not found
#include <cblas.h>
         ^
11 warnings and 1 error generated.
make: *** [.build_release/src/caffe/blob.o] Error 1

I tried several guides to refresh/reinstall dependencies, but nothing helped. The error above stayed.
Please clarify what is the right way to install `caffe` on Mac OS? 

Alexey Strakh

unread,
Jul 6, 2017, 9:41:30 PM7/6/17
to Caffe Users
Reply all
Reply to author
Forward
0 new messages