ryanjay0 / miles-deep

Deep Learning Porn Video Classifier/Editor with Caffe
GNU General Public License v3.0
2.6k stars 284 forks source link

occur error when compile the project. Dose anyone make the project ? #24

Open minushuang opened 6 years ago

minushuang commented 6 years ago

Hi, Dose anyone make the project ? I clone the code and follow the instructions to build the envs. errors as below when I run 'make'
any solution will be appreciated.

root@hxh:/home/hxh/common_use/tools/miles-deep-master# make
g++ -std=c++11 -Wno-sign-compare -Wall -pthread -fPIC -DNDEBUG -O2 -DUSE_OPENCV -o miles-deep *.cpp -Wl,--whole-archive /home/hxh/common_use/caffe/.build_release/lib/libcaffe.a -Wl,--no-whole-archive  -lm -lglog -lopencv_core -lopencv_highgui -lopencv_imgproc -lstdc++ -lhdf5 -lhdf5_hl -lopenblas -I/usr/local/include -I.  -I/home/hxh/common_use/caffe/include \
    -I/usr/local/cuda/include -L/usr/local/cuda/lib64 -lcublas -lcudart -lcurand -lcudnn -DUSE_CUDNN  -L/usr/lib -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu -L/home/hxh/anaconda2/pkgs/hdf5-1.10.1-h9caa474_1/lib /usr/lib/x86_64-linux-gnu/libgflags.a /usr/lib/x86_64-linux-gnu/libboost_thread.a /usr/lib/x86_64-linux-gnu/libboost_system.a /usr/lib/x86_64-linux-gnu/libprotobuf.a 
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(layer_factory.o):在函数‘__static_initialization_and_destruction_0(int, int) [clone .constprop.245]’中:
layer_factory.cpp:(.text.startup+0x6e):对‘_Py_NoneStruct’未定义的引用
layer_factory.cpp:(.text.startup+0x44a):对‘boost::python::converter::registry::lookup(boost::python::type_info)’未定义的引用
layer_factory.cpp:(.text.startup+0x47d):对‘boost::python::converter::registry::lookup_shared_ptr(boost::python::type_info)’未定义的引用
layer_factory.cpp:(.text.startup+0x485):对‘boost::python::converter::registry::lookup(boost::python::type_info)’未定义的引用
layer_factory.cpp:(.text.startup+0x4a3):对‘boost::python::converter::registry::lookup_shared_ptr(boost::python::type_info)’未定义的引用
layer_factory.cpp:(.text.startup+0x4ab):对‘boost::python::converter::registry::lookup(boost::python::type_info)’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(layer_factory.o):在函数‘boost::python::detail::returnable<boost::python::api::object>::type boost::python::call<boost::python::api::object, caffe::LayerParameter>(_object*, caffe::LayerParameter const&, boost::type<boost::python::api::object>*)’中:
layer_factory.cpp:(.text._ZN5boost6python4callINS0_3api6objectEN5caffe14LayerParameterEEENS0_6detail10returnableIT_E4typeEP7_objectRKT0_PNS_4typeIS8_EE[_ZN5boost6python4callINS0_3api6objectEN5caffe14LayerParameterEEENS0_6detail10returnableIT_E4typeEP7_objectRKT0_PNS_4typeIS8_EE]+0x2f):对‘boost::python::converter::detail::arg_to_python_base::arg_to_python_base(void const volatile*, boost::python::converter::registration const&)’未定义的引用
layer_factory.cpp:(.text._ZN5boost6python4callINS0_3api6objectEN5caffe14LayerParameterEEENS0_6detail10returnableIT_E4typeEP7_objectRKT0_PNS_4typeIS8_EE[_ZN5boost6python4callINS0_3api6objectEN5caffe14LayerParameterEEENS0_6detail10returnableIT_E4typeEP7_objectRKT0_PNS_4typeIS8_EE]+0x45):对‘PyEval_CallFunction’未定义的引用
layer_factory.cpp:(.text._ZN5boost6python4callINS0_3api6objectEN5caffe14LayerParameterEEENS0_6detail10returnableIT_E4typeEP7_objectRKT0_PNS_4typeIS8_EE[_ZN5boost6python4callINS0_3api6objectEN5caffe14LayerParameterEEENS0_6detail10returnableIT_E4typeEP7_objectRKT0_PNS_4typeIS8_EE]+0xa4):对‘boost::python::throw_error_already_set()’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(layer_factory.o):在函数‘boost::shared_ptr<caffe::Layer<double> > caffe::GetPythonLayer<double>(caffe::LayerParameter const&)’中:
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x25):对‘Py_Initialize’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x49):对‘boost::python::detail::str_base::str_base(char const*)’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x54):对‘boost::python::import(boost::python::str)’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x9b):对‘boost::python::api::getattr(boost::python::api::object const&, char const*)’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0xea):对‘boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x117):对‘boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x2c8):对‘vtable for boost::python::error_already_set’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x2db):对‘PyErr_Print’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIdEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x300):对‘boost::python::error_already_set::~error_already_set()’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(layer_factory.o):在函数‘boost::shared_ptr<caffe::Layer<float> > caffe::GetPythonLayer<float>(caffe::LayerParameter const&)’中:
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x25):对‘Py_Initialize’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x49):对‘boost::python::detail::str_base::str_base(char const*)’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x54):对‘boost::python::import(boost::python::str)’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x9b):对‘boost::python::api::getattr(boost::python::api::object const&, char const*)’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0xea):对‘boost::python::converter::rvalue_from_python_stage1(_object*, boost::python::converter::registration const&)’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x117):对‘boost::python::converter::rvalue_from_python_stage2(_object*, boost::python::converter::rvalue_from_python_stage1_data&, boost::python::converter::registration const&)’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x2c8):对‘vtable for boost::python::error_already_set’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x2db):对‘PyErr_Print’未定义的引用
layer_factory.cpp:(.text._ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE[_ZN5caffe14GetPythonLayerIfEEN5boost10shared_ptrINS_5LayerIT_EEEERKNS_14LayerParameterE]+0x300):对‘boost::python::error_already_set::~error_already_set()’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(layer_factory.o):(.data.DW.ref._ZTIN5boost6python17error_already_setE[DW.ref._ZTIN5boost6python17error_already_setE]+0x0):对‘typeinfo for boost::python::error_already_set’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(upgrade_proto.o):在函数‘caffe::UpgradeSnapshotPrefixProperty(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, caffe::SolverParameter*)’中:
upgrade_proto.cpp:(.text+0x19d4):对‘boost::filesystem::path::replace_extension(boost::filesystem::path const&)’未定义的引用
upgrade_proto.cpp:(.text+0x1af3):对‘boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)’未定义的引用
upgrade_proto.cpp:(.text+0x1b46):对‘boost::filesystem::path::stem() const’未定义的引用
upgrade_proto.cpp:(.text+0x1b99):对‘boost::filesystem::path::operator/=(boost::filesystem::path const&)’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_leveldb.o):在函数‘caffe::db::LevelDB::Open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, caffe::db::Mode)’中:
db_leveldb.cpp:(.text+0x104):对‘leveldb::Options::Options()’未定义的引用
db_leveldb.cpp:(.text+0x146):对‘leveldb::DB::Open(leveldb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, leveldb::DB**)’未定义的引用
db_leveldb.cpp:(.text+0x1ef):对‘leveldb::Status::ToString[abi:cxx11]() const’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_leveldb.o):在函数‘caffe::db::LevelDB::NewCursor()’中:
db_leveldb.cpp:(.text._ZN5caffe2db7LevelDB9NewCursorEv[_ZN5caffe2db7LevelDB9NewCursorEv]+0xb9):对‘leveldb::Status::ToString[abi:cxx11]() const’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_leveldb.o):在函数‘caffe::db::LevelDBTransaction::~LevelDBTransaction()’中:
db_leveldb.cpp:(.text._ZN5caffe2db18LevelDBTransactionD2Ev[_ZN5caffe2db18LevelDBTransactionD5Ev]+0x18):对‘leveldb::WriteBatch::~WriteBatch()’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_leveldb.o):在函数‘caffe::db::LevelDBTransaction::~LevelDBTransaction()’中:
db_leveldb.cpp:(.text._ZN5caffe2db18LevelDBTransactionD0Ev[_ZN5caffe2db18LevelDBTransactionD5Ev]+0x18):对‘leveldb::WriteBatch::~WriteBatch()’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_leveldb.o):在函数‘caffe::db::LevelDBTransaction::Put(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)’中:
db_leveldb.cpp:(.text._ZN5caffe2db18LevelDBTransaction3PutERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_[_ZN5caffe2db18LevelDBTransaction3PutERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_]+0x42):对‘leveldb::WriteBatch::Put(leveldb::Slice const&, leveldb::Slice const&)’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_leveldb.o):在函数‘caffe::db::LevelDB::NewTransaction()’中:
db_leveldb.cpp:(.text._ZN5caffe2db7LevelDB14NewTransactionEv[_ZN5caffe2db7LevelDB14NewTransactionEv]+0x48):对‘leveldb::WriteBatch::WriteBatch()’未定义的引用
db_leveldb.cpp:(.text._ZN5caffe2db7LevelDB14NewTransactionEv[_ZN5caffe2db7LevelDB14NewTransactionEv]+0xea):对‘leveldb::WriteBatch::~WriteBatch()’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_leveldb.o):在函数‘caffe::db::LevelDBTransaction::Commit()’中:
db_leveldb.cpp:(.text._ZN5caffe2db18LevelDBTransaction6CommitEv[_ZN5caffe2db18LevelDBTransaction6CommitEv]+0x74):对‘leveldb::Status::ToString[abi:cxx11]() const’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_lmdb.o):在函数‘caffe::db::LMDBTransaction::DoubleMapSize()’中:
db_lmdb.cpp:(.text+0x155):对‘mdb_env_info’未定义的引用
db_lmdb.cpp:(.text+0x177):对‘mdb_env_set_mapsize’未定义的引用
db_lmdb.cpp:(.text+0x1da):对‘mdb_strerror’未定义的引用
db_lmdb.cpp:(.text+0x25a):对‘mdb_strerror’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_lmdb.o):在函数‘caffe::db::LMDB::Open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, caffe::db::Mode)’中:
db_lmdb.cpp:(.text+0x328):对‘mdb_env_create’未定义的引用
db_lmdb.cpp:(.text+0x364):对‘mdb_env_open’未定义的引用
db_lmdb.cpp:(.text+0x466):对‘mdb_strerror’未定义的引用
db_lmdb.cpp:(.text+0x4ec):对‘mdb_strerror’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_lmdb.o):在函数‘caffe::db::LMDBTransaction::Commit()’中:
db_lmdb.cpp:(.text+0x675):对‘mdb_txn_begin’未定义的引用
db_lmdb.cpp:(.text+0x69c):对‘mdb_dbi_open’未定义的引用
db_lmdb.cpp:(.text+0x752):对‘mdb_put’未定义的引用
db_lmdb.cpp:(.text+0x7a5):对‘mdb_strerror’未定义的引用
db_lmdb.cpp:(.text+0x806):对‘mdb_txn_commit’未定义的引用
db_lmdb.cpp:(.text+0x834):对‘mdb_dbi_close’未定义的引用
db_lmdb.cpp:(.text+0x8a6):对‘mdb_txn_abort’未定义的引用
db_lmdb.cpp:(.text+0x8b3):对‘mdb_dbi_close’未定义的引用
db_lmdb.cpp:(.text+0x926):对‘mdb_strerror’未定义的引用
db_lmdb.cpp:(.text+0x9a4):对‘mdb_strerror’未定义的引用
db_lmdb.cpp:(.text+0xa39):对‘mdb_strerror’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_lmdb.o):在函数‘caffe::db::LMDB::NewCursor()’中:
db_lmdb.cpp:(.text+0xb2e):对‘mdb_txn_begin’未定义的引用
db_lmdb.cpp:(.text+0xb54):对‘mdb_dbi_open’未定义的引用
db_lmdb.cpp:(.text+0xb7c):对‘mdb_cursor_open’未定义的引用
db_lmdb.cpp:(.text+0xbd1):对‘mdb_cursor_get’未定义的引用
db_lmdb.cpp:(.text+0xc5e):对‘mdb_strerror’未定义的引用
db_lmdb.cpp:(.text+0xcdc):对‘mdb_strerror’未定义的引用
db_lmdb.cpp:(.text+0xd5a):对‘mdb_strerror’未定义的引用
db_lmdb.cpp:(.text+0xdd7):对‘mdb_strerror’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_lmdb.o):在函数‘caffe::db::LMDBCursor::~LMDBCursor()’中:
db_lmdb.cpp:(.text._ZN5caffe2db10LMDBCursorD2Ev[_ZN5caffe2db10LMDBCursorD5Ev]+0x17):对‘mdb_cursor_close’未定义的引用
db_lmdb.cpp:(.text._ZN5caffe2db10LMDBCursorD2Ev[_ZN5caffe2db10LMDBCursorD5Ev]+0x20):对‘mdb_txn_abort’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_lmdb.o):在函数‘caffe::db::LMDB::Close()’中:
db_lmdb.cpp:(.text._ZN5caffe2db4LMDB5CloseEv[_ZN5caffe2db4LMDB5CloseEv]+0x11):对‘mdb_dbi_close’未定义的引用
db_lmdb.cpp:(.text._ZN5caffe2db4LMDB5CloseEv[_ZN5caffe2db4LMDB5CloseEv]+0x1a):对‘mdb_env_close’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_lmdb.o):在函数‘caffe::db::LMDBCursor::~LMDBCursor()’中:
db_lmdb.cpp:(.text._ZN5caffe2db10LMDBCursorD0Ev[_ZN5caffe2db10LMDBCursorD5Ev]+0x17):对‘mdb_cursor_close’未定义的引用
db_lmdb.cpp:(.text._ZN5caffe2db10LMDBCursorD0Ev[_ZN5caffe2db10LMDBCursorD5Ev]+0x20):对‘mdb_txn_abort’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_lmdb.o):在函数‘caffe::db::LMDB::~LMDB()’中:
db_lmdb.cpp:(.text._ZN5caffe2db4LMDBD2Ev[_ZN5caffe2db4LMDBD5Ev]+0x22):对‘mdb_dbi_close’未定义的引用
db_lmdb.cpp:(.text._ZN5caffe2db4LMDBD2Ev[_ZN5caffe2db4LMDBD5Ev]+0x2b):对‘mdb_env_close’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_lmdb.o):在函数‘caffe::db::LMDB::~LMDB()’中:
db_lmdb.cpp:(.text._ZN5caffe2db4LMDBD0Ev[_ZN5caffe2db4LMDBD5Ev]+0x1f):对‘mdb_dbi_close’未定义的引用
db_lmdb.cpp:(.text._ZN5caffe2db4LMDBD0Ev[_ZN5caffe2db4LMDBD5Ev]+0x28):对‘mdb_env_close’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_lmdb.o):在函数‘caffe::db::LMDBCursor::Next()’中:
db_lmdb.cpp:(.text._ZN5caffe2db10LMDBCursor4NextEv[_ZN5caffe2db10LMDBCursor4NextEv]+0x2d):对‘mdb_cursor_get’未定义的引用
db_lmdb.cpp:(.text._ZN5caffe2db10LMDBCursor4NextEv[_ZN5caffe2db10LMDBCursor4NextEv]+0xa8):对‘mdb_strerror’未定义的引用
/home/hxh/common_use/caffe/.build_release/lib/libcaffe.a(db_lmdb.o):在函数‘caffe::db::LMDBCursor::SeekToFirst()’中:
db_lmdb.cpp:(.text._ZN5caffe2db10LMDBCursor11SeekToFirstEv[_ZN5caffe2db10LMDBCursor11SeekToFirstEv]+0x2a):对‘mdb_cursor_get’未定义的引用
db_lmdb.cpp:(.text._ZN5caffe2db10LMDBCursor11SeekToFirstEv[_ZN5caffe2db10LMDBCursor11SeekToFirstEv]+0xa8):对‘mdb_strerror’未定义的引用
collect2: error: ld returned 1 exit status
Makefile:35: recipe for target 'miles-deep' failed
make: *** [miles-deep] Error 1
dcfranca commented 5 years ago

I also can't make it, it seems that there are some out of date dependencies. No one seems to be maintaining it. Would be nice if we can update it.

ryanjay0 commented 5 years ago

i'm still here just a little busy. i'll see if i can update it to compile again.

Gatlarf commented 5 years ago

I think U need to install opencv 2.4. I went through a shitload of compiler errors on Ubuntu in order for caffe to be compiled, but those were just dependencies on a fresh ubuntu install that were missing. When that finally worked, I got the same errors you got. From what I understand this is "could" be related to the opencv version. Tried to install opencv from source, but my vm ran out of diskspace, sigh, so I'll have to fix that first...

dcfranca commented 5 years ago

If you wanna try it, the easiest way I found was using those models in a python-caffe application. You can get it running quickly if you get the Docker bvlc/caffe:cpu