MacOs 10.10.4 Compile

1,303 views
Skip to first unread message

Ilker Cam

unread,
Aug 13, 2015, 10:33:09 AM8/13/15
to Caffe Users
Is there anybody - i mean really has accomplished to compile caffe, python & matlab interfaces. It's the 3rd day and warnings keeps changing but...

Is there any chance that anybody can provide me a distribution ?...

cheers

Ilker Cam

unread,
Aug 13, 2015, 10:51:38 AM8/13/15
to Caffe Users


13 Ağustos 2015 Perşembe 16:33:09 UTC+2 tarihinde Ilker Cam yazdı:
Is there anybody - i mean really has accomplished to compile caffe, python & matlab interfaces. It's the 3rd day and warnings keeps changing but...

Is there any chance that anybody can provide me a distribution ?...


Error is as follows : 

MEX matlab/+caffe/private/caffe_.cpp

Building with 'Xcode Clang++'.

Undefined symbols for architecture x86_64:

  "_mxArrayToString", referenced from:

      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_restore(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_copy_from(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_save(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      read_mean(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      _mexFunction in caffe_.o

      ...

  "_mxCreateCellMatrix_700", referenced from:

      str_vec_to_mx_strcell(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in caffe_.o

  "_mxCreateDoubleMatrix_700", referenced from:

      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      blob_get_shape(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

  "_mxCreateDoubleScalar", referenced from:

      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_get_iter(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      get_init_key(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      mxArray_tag* ptr_vec_to_handle_vec<caffe::Blob<float> >(std::__1::vector<boost::shared_ptr<caffe::Blob<float> >, std::__1::allocator<boost::shared_ptr<caffe::Blob<float> > > > const&) in caffe_.o

      ...

  "_mxCreateNumericArray_700", referenced from:

      blob_to_mx_mat(caffe::Blob<float> const*, WhichMemory) in caffe_.o

  "_mxCreateNumericMatrix_700", referenced from:

      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      mxArray_tag* ptr_vec_to_handle_vec<caffe::Blob<float> >(std::__1::vector<boost::shared_ptr<caffe::Blob<float> >, std::__1::allocator<boost::shared_ptr<caffe::Blob<float> > > > const&) in caffe_.o

  "_mxCreateString", referenced from:

      layer_get_type(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      str_vec_to_mx_strcell(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in caffe_.o

  "_mxCreateStructMatrix_700", referenced from:

      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      layer_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      mxArray_tag* ptr_vec_to_handle_vec<caffe::Blob<float> >(std::__1::vector<boost::shared_ptr<caffe::Blob<float> >, std::__1::allocator<boost::shared_ptr<caffe::Blob<float> > > > const&) in caffe_.o

  "_mxFree", referenced from:

      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_restore(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_copy_from(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_save(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      read_mean(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      _mexFunction in caffe_.o

      ...

  "_mxGetData", referenced from:

      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      blob_to_mx_mat(caffe::Blob<float> const*, WhichMemory) in caffe_.o

      caffe::Blob<float>* handle_to_ptr<caffe::Blob<float> >(mxArray_tag const*) in caffe_.o

      mx_mat_to_blob(mxArray_tag const*, caffe::Blob<float>*, WhichMemory) in caffe_.o

      ...

  "_mxGetField_700", referenced from:

      caffe::Blob<float>* handle_to_ptr<caffe::Blob<float> >(mxArray_tag const*) in caffe_.o

      caffe::Layer<float>* handle_to_ptr<caffe::Layer<float> >(mxArray_tag const*) in caffe_.o

      caffe::Net<float>* handle_to_ptr<caffe::Net<float> >(mxArray_tag const*) in caffe_.o

      caffe::Solver<float>* handle_to_ptr<caffe::Solver<float> >(mxArray_tag const*) in caffe_.o

  "_mxGetNumberOfElements", referenced from:

      blob_reshape(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      mx_mat_to_blob(mxArray_tag const*, caffe::Blob<float>*, WhichMemory) in caffe_.o

  "_mxGetPr", referenced from:

      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      blob_get_shape(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      blob_reshape(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

  "_mxGetScalar", referenced from:

      solver_step(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      set_device(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      caffe::Blob<float>* handle_to_ptr<caffe::Blob<float> >(mxArray_tag const*) in caffe_.o

      caffe::Layer<float>* handle_to_ptr<caffe::Layer<float> >(mxArray_tag const*) in caffe_.o

      caffe::Net<float>* handle_to_ptr<caffe::Net<float> >(mxArray_tag const*) in caffe_.o

      caffe::Solver<float>* handle_to_ptr<caffe::Solver<float> >(mxArray_tag const*) in caffe_.o

  "_mxIsChar", referenced from:

      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_restore(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_copy_from(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_save(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      read_mean(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

  "_mxIsDouble", referenced from:

      solver_step(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      blob_reshape(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      set_device(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

  "_mxIsSingle", referenced from:

      blob_set_data(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      blob_set_diff(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

  "_mxIsStruct", referenced from:

      solver_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_get_iter(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_restore(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_solve(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_step(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_forward(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      ...

  "_mxIsUint64", referenced from:

      caffe::Blob<float>* handle_to_ptr<caffe::Blob<float> >(mxArray_tag const*) in caffe_.o

      caffe::Layer<float>* handle_to_ptr<caffe::Layer<float> >(mxArray_tag const*) in caffe_.o

      caffe::Net<float>* handle_to_ptr<caffe::Net<float> >(mxArray_tag const*) in caffe_.o

      caffe::Solver<float>* handle_to_ptr<caffe::Solver<float> >(mxArray_tag const*) in caffe_.o

  "_mxSetCell_700", referenced from:

      str_vec_to_mx_strcell(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in caffe_.o

  "_mxSetField_700", referenced from:

      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      solver_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      layer_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o

      mxArray_tag* ptr_vec_to_handle_vec<caffe::Blob<float> >(std::__1::vector<boost::shared_ptr<caffe::Blob<float> >, std::__1::allocator<boost::shared_ptr<caffe::Blob<float> > > > const&) in caffe_.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)


make: *** [matlab/+caffe/private/caffe_.mexmaci64] Error 255

 
cheers

Usama Shafiq

unread,
Nov 19, 2015, 7:33:43 AM11/19/15
to Caffe Users
Do anybody resolve this problem. I also come across this problem

Ronghang Hu

unread,
Nov 19, 2015, 12:29:03 PM11/19/15
to Caffe Users
This looks like an issue with Matlab wrapper compilation.It seems that your mex (Matlab's compiler) is not correctly set up.

To set up mex, you need to first run "mex -setup" in a Matlab console, and then modify your file in ~/.matlab/<your_matlab_version>/mexopt.sh

The modification to ~/.matlab/<your_matlab_version>/mexopt.sh can be summarized as

1. Remove the C++11 flags in maci64 part of the file.
Remove the "-std=c++11" flag in CXXFLAGS.

2. Set the compiler and runtime version in maci64 part of the file to match your system and your XCode.
Some relevant issues for this:

Here is my mexopt.sh, as a reference: https://gist.github.com/ronghanghu/2c97bc9b3b4a5b1c3c77

Ronghang Hu

unread,
Nov 20, 2015, 6:01:55 AM11/20/15
to Caffe Users
Update from @ssahu on GitHub:

It is also needed to add /usr/local/lib /Applications/MATLAB_R2015b.app/bin/maci64 in LIBRARY_DIRS in Makefile.config

LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /Applications/MATLAB_R2015b.app/bin/maci64 /usr/lib

Ruizhi Deng

unread,
Nov 29, 2015, 5:40:07 AM11/29/15
to Caffe Users
Hi, I meet exactly the same problem but the same problem is still unresolved after I follows the steps above. By the way it seems that matlab R2015b doesn't use the mexopt.sh to configure mex. It uses mex_C++_maci64.xml. There's a line about CXXFLAG and there's -std=c++11flag. Should I delete it?

Ruizhi Deng

unread,
Nov 29, 2015, 5:40:50 AM11/29/15
to Caffe Users
I also want to ask should I use mex -setup or mex -setup -c++.


On Friday, November 20, 2015 at 6:01:55 AM UTC-5, Ronghang Hu wrote:

Ronghang Hu

unread,
Nov 29, 2015, 1:28:06 PM11/29/15
to Caffe Users
Yes, you should remove the "-std=c++11flag"

I used "mex -setup", but "mex -setup C++" should also work since MatCaffe only involves C++ compiler.

Ali Hassan

unread,
Feb 17, 2016, 3:50:37 AM2/17/16
to Caffe Users
Hi,

Did anyone manage to solve this problem? I have been trying to compile Caffe with Matlab 2015b on  Mac OSX 10.10.5 for three days now. I have tried everything suggested in this thread and available online. if anyone have been able to compile it with similar configuration, please let me know.

I have tried Xcode 6.4 and 7.1.

Problem is the same.

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)


    mex: link of ' "/Users/alihassan/workspace/caffe/matlab/+caffe/private/caffe_.mexmaci64"' failed.


make[3]: *** [../matlab/+caffe/private/caffe_.mexmaci64] Error 255

make[2]: *** [matlab/CMakeFiles/matlab.dir/all] Error 2

make[1]: *** [matlab/CMakeFiles/matlab.dir/rule] Error 2

make: *** [matlab] Error 2



BTW I have removed -std=c++11flag from both mex_C++_maci64.xml and mexopt.sh. Any other suggestions would be very appreciated. 

Best,
Ali Hassan

Jeremy Pinto

unread,
May 3, 2016, 3:43:40 PM5/3/16
to Caffe Users
Hello,

I have followed all your steps, yet cannot get make matcaffe to compile.  I have changed the version in mexopts.sh  but did not have a "-std=c++11" flag in CXXFLAGS. This is instead what I have : 

CXXFLAGS="-fno-common -fexceptions -arch $ARCHS -isysroot $MW_SDKROOT -mmacosx-version-min=$MACOSX_DEPLOYMENT_TARGET "


I have also changed the LIBRARY_DIRS file accordingly... 

Any ideas? Here is the error I get when i run make matcaffe : 









v1020-wn-4-224:caffe-master jerpint$ make matcaffe


MEX matlab/+caffe/private/caffe_.cpp


Building with 'Xcode Clang++'.


In file included from /Users/jerpint/Documents/project/caffe-master/matlab/+caffe/private/caffe_.cpp:18:


In file included from ./include/caffe/caffe.hpp:12:


./include/caffe/net.hpp:41:5: warning: unused typedef 'INVALID_REQUESTED_LOG_SEVERITY' [-Wunused-local-typedef]


    LOG_EVERY_N(WARNING, 1000) << "DEPRECATED: ForwardPrefilled() "


    ^


/usr/local/include/glog/logging.h:917:30: note: expanded from macro 'LOG_EVERY_N'


                             INVALID_REQUESTED_LOG_SEVERITY);           \


                             ^


1 warning generated.




Undefined symbols for architecture x86_64:


  "_mxArrayToString", referenced from:


      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      solver_restore(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      net_copy_from(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      net_save(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      read_mean(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      write_mean(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      ...


  "_mxCreateCellMatrix_700", referenced from:


      str_vec_to_mx_strcell(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in caffe_.o


  "_mxCreateDoubleMatrix_700", referenced from:


      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      blob_get_shape(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


  "_mxCreateDoubleScalar", referenced from:


      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      solver_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      solver_get_iter(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      get_init_key(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      mxArray_tag* ptr_vec_to_handle_vec<caffe::Blob<float> >(std::__1::vector<boost::shared_ptr<caffe::Blob<float> >, std::__1::allocator<boost::shared_ptr<caffe::Blob<float> > > > const&) in caffe_.o


      ...


  "_mxCreateNumericArray_700", referenced from:


      blob_to_mx_mat(caffe::Blob<float> const*, WhichMemory) in caffe_.o


  "_mxCreateNumericMatrix_700", referenced from:


      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      solver_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      mxArray_tag* ptr_vec_to_handle_vec<caffe::Blob<float> >(std::__1::vector<boost::shared_ptr<caffe::Blob<float> >, std::__1::allocator<boost::shared_ptr<caffe::Blob<float> > > > const&) in caffe_.o


  "_mxCreateString", referenced from:


      layer_get_type(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      version(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      str_vec_to_mx_strcell(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in caffe_.o


  "_mxCreateStructMatrix_700", referenced from:


      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      solver_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      layer_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      mxArray_tag* ptr_vec_to_handle_vec<caffe::Blob<float> >(std::__1::vector<boost::shared_ptr<caffe::Blob<float> >, std::__1::allocator<boost::shared_ptr<caffe::Blob<float> > > > const&) in caffe_.o


  "_mxFree", referenced from:


      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      solver_restore(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      net_copy_from(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      net_save(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      read_mean(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      write_mean(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      ...


  "_mxGetData", referenced from:


      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      solver_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      caffe::Solver<float>* handle_to_ptr<caffe::Solver<float> >(mxArray_tag const*) in caffe_.o


      caffe::Net<float>* handle_to_ptr<caffe::Net<float> >(mxArray_tag const*) in caffe_.o


      mxArray_tag* ptr_vec_to_handle_vec<caffe::Blob<float> >(std::__1::vector<boost::shared_ptr<caffe::Blob<float> >, std::__1::allocator<boost::shared_ptr<caffe::Blob<float> > > > const&) in caffe_.o


      ...


  "_mxGetDimensions_700", referenced from:


      write_mean(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


  "_mxGetField_700", referenced from:


      caffe::Solver<float>* handle_to_ptr<caffe::Solver<float> >(mxArray_tag const*) in caffe_.o


      caffe::Net<float>* handle_to_ptr<caffe::Net<float> >(mxArray_tag const*) in caffe_.o


      caffe::Layer<float>* handle_to_ptr<caffe::Layer<float> >(mxArray_tag const*) in caffe_.o


      caffe::Blob<float>* handle_to_ptr<caffe::Blob<float> >(mxArray_tag const*) in caffe_.o


  "_mxGetNumberOfDimensions_700", referenced from:


      write_mean(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


  "_mxGetNumberOfElements", referenced from:


      blob_reshape(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      mx_mat_to_blob(mxArray_tag const*, caffe::Blob<float>*, WhichMemory) in caffe_.o


  "_mxGetPr", referenced from:


      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      blob_get_shape(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      blob_reshape(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


  "_mxGetScalar", referenced from:


      solver_step(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      set_device(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      caffe::Solver<float>* handle_to_ptr<caffe::Solver<float> >(mxArray_tag const*) in caffe_.o


      caffe::Net<float>* handle_to_ptr<caffe::Net<float> >(mxArray_tag const*) in caffe_.o


      caffe::Layer<float>* handle_to_ptr<caffe::Layer<float> >(mxArray_tag const*) in caffe_.o


      caffe::Blob<float>* handle_to_ptr<caffe::Blob<float> >(mxArray_tag const*) in caffe_.o


  "_mxIsChar", referenced from:


      get_solver(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      solver_restore(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      get_net(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      net_copy_from(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      net_save(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      read_mean(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      write_mean(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      ...


  "_mxIsDouble", referenced from:


      solver_step(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      blob_reshape(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      set_device(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


  "_mxIsSingle", referenced from:


      blob_set_data(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      blob_set_diff(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      write_mean(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


  "_mxIsStruct", referenced from:


      solver_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      solver_get_iter(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      solver_restore(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      solver_solve(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      solver_step(int, mxArray_tag**, int, mxArray_tag const**) in caffe_.o


      net_get_attr(int, mxArray_tag**, int, mxArray_tag const**) in


make: *** [matlab/+caffe/private/caffe_.mexmaci64] Error 255


Thanks!
Reply all
Reply to author
Forward
0 new messages