Hi, I am trying to build caffee on my macbook pro running Mavericks, and I am getting the following errors, has anyone seen these before? Thanks!
r.o 2> .build_release/src/caffe/layers/data_layer.o.warnings.txt \
|| (cat .build_release/src/caffe/layers/data_layer.o.warnings.txt; exit 1)
src/caffe/layers/data_layer.cpp:195:25: error: use of undeclared identifier 'MDB_NOTLS'
MDB_RDONLY|MDB_NOTLS, 0664), MDB_SUCCESS) << "mdb_env_open failed";
^
/usr/local/include/glog/logging.h:765:48: note: expanded from macro 'CHECK_EQ'
#define CHECK_EQ(val1, val2) CHECK_OP(_EQ, ==, val1, val2)
^
/usr/local/include/glog/logging.h:741:26: note: expanded from macro 'CHECK_OP'
CHECK_OP_LOG(name, op, val1, val2, google::LogMessageFatal)
^
/usr/local/include/glog/logging.h:733:44: note: expanded from macro 'CHECK_OP_LOG'
google::GetReferenceableValue(val1), \
^
src/caffe/layers/data_layer.cpp:193:5: error: no matching constructor for initialization of 'google::CheckOpString'
CHECK_EQ(mdb_env_open(mdb_env_,
^
/usr/local/include/glog/logging.h:765:30: note: expanded from macro 'CHECK_EQ'
#define CHECK_EQ(val1, val2) CHECK_OP(_EQ, ==, val1, val2)
^
/usr/local/include/glog/logging.h:741:3: note: expanded from macro 'CHECK_OP'
CHECK_OP_LOG(name, op, val1, val2, google::LogMessageFatal)
^
/usr/local/include/glog/logging.h:731:32: note: expanded from macro 'CHECK_OP_LOG'
while (google::CheckOpString _result = \
^
src/caffe/layers/data_layer.cpp:356:19: note: in instantiation of member function 'caffe::DataLayer<float>::SetUp' requested here
INSTANTIATE_CLASS(DataLayer);
^
./include/caffe/common.hpp:32:18: note: expanded from macro 'INSTANTIATE_CLASS'
template class classname<float>; \
^
/usr/local/include/glog/logging.h:568:3: note: candidate constructor not viable: requires single argument 'str', but no arguments were provided
CheckOpString(std::string* str) : str_(str) { }
^
/usr/local/include/glog/logging.h:567:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 0 were provided
struct CheckOpString {
^
src/caffe/layers/data_layer.cpp:193:5: error: no matching constructor for initialization of 'google::CheckOpString'
CHECK_EQ(mdb_env_open(mdb_env_,
^
/usr/local/include/glog/logging.h:765:30: note: expanded from macro 'CHECK_EQ'
#define CHECK_EQ(val1, val2) CHECK_OP(_EQ, ==, val1, val2)
^
/usr/local/include/glog/logging.h:741:3: note: expanded from macro 'CHECK_OP'
CHECK_OP_LOG(name, op, val1, val2, google::LogMessageFatal)
^
/usr/local/include/glog/logging.h:731:32: note: expanded from macro 'CHECK_OP_LOG'
while (google::CheckOpString _result = \
^
src/caffe/layers/data_layer.cpp:356:19: note: in instantiation of member function 'caffe::DataLayer<double>::SetUp' requested here
INSTANTIATE_CLASS(DataLayer);
^
./include/caffe/common.hpp:33:18: note: expanded from macro 'INSTANTIATE_CLASS'
template class classname<double>
^
/usr/local/include/glog/logging.h:568:3: note: candidate constructor not viable: requires single argument 'str', but no arguments were provided
CheckOpString(std::string* str) : str_(str) { }
^
/usr/local/include/glog/logging.h:567:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 0 were provided
struct CheckOpString {
^
3 errors generated.
make: *** [.build_release/src/caffe/layers/data_layer.o] Error 1