第一次配置matlab接口遇到的錯誤,記錄一下:
wolf@wolf:~/Downloads/caffe-master$ make matcaffe -j32
make: /usr/local/MATLAB/R2014a/bin/mexext: Command not found
MEX matlab/+caffe/private/caffe_.cpp
/bin/sh: 1: /usr/local/MATLAB/R2014a/bin/mex: not found
make: *** [matlab/+caffe/private/caffe_.] Error 127
解決方法:
1:在Makefile中的CXXFLAGS += -MMD -MP後面添加
CXXFLAGS += -std=c++11,但是始終無法解決
2:gcc降版本至gcc4.7,再make clean,make all -j16即可