ShaoqingRen / SPP_net

SPP_net : Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition
364 stars 237 forks source link

having trouble building caffe-faster-R-CNN #55

Open mlmersel opened 8 years ago

mlmersel commented 8 years ago

Hi:

I'm trying to build matcaffe on CentOS 6.7. But I'm having some problems I hope someone can help me with.

I'm trying to build on the fork - caffe-faster-R-CNN.

I am using cmake 3.4.3

Here is the command and the error:

The error is in yellow on the bottom.

Please help

cmake .. -DBoost_NO_BOOST_CMAKE=TRUE -DBoost_NO_SYSTEM_PATHS=TRUE -DBOOST_ROOT:PATHNAME=/apps/RH6U4/boost/1.59.0 -DHDF5_INCLUDE_DIRS=/apps/RH6U4/hdf5/1.8.15/include -DLevelDB_INCLUDE=/apps/src/leveldb-master/include -DLevelDB_LIBRARY=/apps/src/leveldb-master/out-static/libleveldb.a -DAtlas_LAPACK_LIBRARY=/usr/lib64/atlas/liblapack.so -DMatlab_mex:FILEPATH=/apps/RH6U4/matlab/R2015a/bin/mex -DMatlab_mexext:FILEPATH=/apps/RH6U4/matlab/R2015a/bin/mexext -DMatlabMex_FOUND:BOOL=ON -DMATLABMEX_FOUND_FOUND:BOOL=ON -DBUILD_python=FALSE -DBUILD_matlab=TRUE -- The C compiler identification is GNU 4.4.7 -- The CXX compiler identification is GNU 4.4.7 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Boost version: 1.59.0 -- Found the following Boost libraries: -- system -- thread -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE -- Found GFlags: /usr/local/include -- Found gflags (include: /usr/local/include, library: /usr/local/lib/libgflags.a) -- Found Glog: /usr/local/include -- Found glog (include: /usr/local/include, library: /usr/local/lib/libglog.a) -- Found PROTOBUF: /usr/local/lib/libprotobuf.so -- Found PROTOBUF Compiler: /usr/local/bin/protoc -- Found HDF5: /apps/RH6U4/hdf5/1.8.15/lib/libhdf5_hl.so;/apps/RH6U4/hdf5/1.8.15/lib/libhdf5.so;/usr/lib64/librt.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found version "1.8.15") -- Found LMDB: /usr/local/include -- Found lmdb (include: /usr/local/include, library: /usr/local/lib/liblmdb.so) -- Found LevelDB: /apps/src/leveldb-master/include -- Found LevelDB (include: /apps/src/leveldb-master/include, library: /apps/src/leveldb-master/out-static/libleveldb.a) -- Found Snappy: /usr/include -- Found Snappy (include: /usr/include, library: /usr/lib64/libsnappy.so) -- CUDA detected: 7.5 -- Added CUDA NVCC flags for: sm_35 -- OpenCV found () -- Found Atlas: /usr/include -- Found Atlas (include: /usr/include, library: /usr/lib64/atlas/libatlas.so) dirname: missing operand Try dirname --help' for more information. dirname: missing operand Trydirname --help' for more information. -- Found MatlabMex: /apps/RH6U4/matlab/R2015a/bin/mex -- Found Doxygen: /usr/bin/doxygen (found version "1.6.1") -- Python interface is disabled or not all required dependecies found. Building without it... CMake Error at cmake/Utils.cmake:356 (message): Logic error. Need to update cmake script Call Stack (most recent call first): matlab/CMakeLists.txt:38 (caffe_parse_linker_libs)

Any ideas?

Thanks.