Small problem with Make Matcaffe

32 views
Skip to first unread message

Carl Azzopardi

unread,
Jun 11, 2017, 3:50:26 PM6/11/17
to Caffe Users
Dear all,

I am in the process of installing caffe & on a MacBook running OSX Sierra, with Xcode 8.0, and Matlab R2014b.

I've followed all the steps for the installation and have successfully to the point of:

make clean
make all (some warnings here but it proceeds)
make test (some warnings here but it proceeds)
make runtest (had to cater for the the $DYLD_FALLBACK_LIBRARY_PATH issue with install_name_tool -change as described elsewhere)

All fine so far.

I then run make matcaffe and I get the following:

Carls-MBP-3:caffe Carl$ make matcaffe

MEX matlab/+caffe/private/caffe_.cpp

Building with 'Xcode Clang++'.

/Users/Carl/caffe/matlab/+caffe/private/caffe_.cpp:206:7: error: expected expression

      [solver] (const shared_ptr< Solver<float> > &solverPtr) {

      ^

/Users/Carl/caffe/matlab/+caffe/private/caffe_.cpp:291:7: error: expected expression

      [net] (const shared_ptr< Net<float> > &netPtr) {

      ^

2 errors generated.


in the make.config file I have correctly set: LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib $(MATLAB_DIR)/bin/maci64 /usr/lib 

Any ideas?

Would appreciate any help :)

Kind regards
Carl
Reply all
Reply to author
Forward
0 new messages