-
Notifications
You must be signed in to change notification settings - Fork 148
Description
I get 3% of the way into building after cmake fires off correctly from a build directory using $ cmake ..
. Using make manually from Caffe just results in there being the same error:
fatal error:
'cblas.h' file not found
#include <cblas.h>
make[2]: *** [src/caffe/CMakeFiles/caffe.dir/blob.cpp.o] Error 1
make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
make: *** [all] Error 2
I've looked around and most of the results I've found talk about using CUDA and that's clearly not an option. I have tried reinstalling all of my dependencies via homebrew, I've tried using standard make passing in compile params like $ make all -L /usr/local/Cellar/openblas/0.2.15/lib -I /usr/local/Cellar/openblas/0.2.15/include
and followed this suggestion:
The only changes I needed to make to the source code were to replace #include <CL/...> with #include <OpenCL/...> in these files:
include/caffe/common.hpp
include/caffe/util/math_functions.hpp
and to remove #include <malloc.h> from src/caffe/device.cpp
I haven't seen anyone else having these same issues but I'm assuming I'm just doing something stupid and failing to actually link correctly somewhere.
Help?