caffe icon indicating copy to clipboard operation
caffe copied to clipboard

make matcaffe error on Mac OS X Yosemite

Open courosh opened this issue 11 years ago • 3 comments

I am a newbie to Caffe. I have Mac OSX 10.10 and Matlab 2014b.

I have successfully run these caffe builds:

make all make test make runtest (all tests passed) make pycaffe

But I am getting an error with

make matcaffe

The build gets down to this line

MEX matlab/caffe/matcaffe.cpp

and gives this error:

dyld: Symbol not found: __ZN6matrix6detail10noninlined12mx_array_api10mxMallocExEm Referenced from: /Applications/MATLAB_R2014b.app/bin/maci64/libmwm_dispatcher.dylib Expected in: /usr/lib/libSystem.B.dylib in /Applications/MATLAB_R2014b.app/bin/maci64/libmwm_dispatcher.dylib /Applications/MATLAB_R2014b.app/bin/mex: line 365: 8206 Trace/BPT trap: 5 $MATLAB/bin/maci64/mex $args make: *** [matlab/caffe/caffe.mexmaci64] Error 133

I have followed the procedures in these posts:

Mathworks

Github 915

The problem is still there.

Can anyone kindly help?

Thanks, Courosh

courosh avatar Mar 02 '15 21:03 courosh

I had installed the Caffe in Ubuntu 12.04.And now I want to run the Caffe in MAC OS X10.10.2,but there is some problems about to Install BLAS.How do you solve the question?What's Guide document you followed?And I can't make all in the caffe file.

greatgao avatar Mar 03 '15 04:03 greatgao

We welcome you to look at the extensive documentation, tutorials, and examples at http://caffe.berkeleyvision.org/ However, please ask usage questions on caffe-users -- this issues tracker is primarily for Caffe development discussion. Thanks!

n-zhang avatar Mar 13 '15 17:03 n-zhang

courosh how'd you solve your problem? I'm having the same thing. It might be a MATLAB 2014 vs. MATLAB 2012 thing.*

*Correction: it's not. Running ./mex alone will produce the same linker error. It might be a C compiler thing: http://www.mathworks.com/support/compilers/R2014b/index.html;jsessionid=962ce1fe6bde01051060fa57e1fb?sec=maci64

sami-mourad avatar Apr 28 '15 18:04 sami-mourad