case1:
ld: library not found for -lgcc_s.10.4
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [bin/maci64/libvl.dylib] Error 1
解决方法参考链接:
http://bugsfixes.blogspot.com/2016/02/mac-ld-library-not-found-for-lgccs104.html
case2:
出现
>> main
MEX-file
'/Users/pengyuyan/Downloads/Robust_Elastic_Warping-master/vlfeat-0.9.20/toolbox/mex/mexmaci64/vl_sift.mexmaci64' 无
效:
dlopen(/Users/pengyuyan/Downloads/Robust_Elastic_Warping-master/vlfeat-0.9.20/toolbox/mex/mexmaci64/vl_sift.mexmaci64,
6): Library not loaded: @loader_path/libmex.dylib
Referenced from:
/Users/pengyuyan/Downloads/Robust_Elastic_Warping-master/vlfeat-0.9.20/toolbox/mex/mexmaci64/vl_sift.mexmaci64
Reason: image not found。
解决方法参考链接:
安装了一下
http://www.chokkan.org/software/liblbfgs/
并参考:
https://ww2.mathworks.cn/matlabcentral/answers/360719-issue-compiling-vlfeat-on-mac-further-insight