Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Issue. #5

Open
gullalc opened this issue Aug 3, 2017 · 0 comments
Open

Compilation Issue. #5

gullalc opened this issue Aug 3, 2017 · 0 comments

Comments

@gullalc
Copy link

gullalc commented Aug 3, 2017

This version of caffe with cmake is unable to find Cuda, hdf5, bunch of other things and even python on my system.

Strange thing is, I have earlier compiled Faster-RCNN and Caffe on my system without any such issues.
I have also tried compiling the same on another system and still face the same problems. Below is the output of cmake ..

CMake Error at /opt/cmake/share/cmake-3.8/Modules/FindBoost.cmake:1842 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.54.0

  Boost include path: /usr/include

  Could not find the following Boost libraries:

          boost_system
          boost_thread
          boost_filesystem

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  cmake/Dependencies.cmake:5 (find_package)
  CMakeLists.txt:48 (include)


-- Found gflags  (include: /usr/include, library: /usr/lib64/libgflags.so)
-- Found glog    (include: /usr/include, library: /usr/lib64/libglog.so)
-- Found PROTOBUF Compiler: /usr/bin/protoc
CMake Error: Generator: execution of make failed. Make command was: "/usr/bin/gmake" "cmTC_f3ee1/fast"
-- Unable to determine HDF5 C flags from HDF5 wrapper.
-- Unable to determine HDF5 C version from HDF5 wrapper.
CMake Error: Generator: execution of make failed. Make command was: "/usr/bin/gmake" "cmTC_78c6c/fast"
-- Unable to determine HDF5 CXX flags from HDF5 wrapper.
-- Unable to determine HDF5 CXX version from HDF5 wrapper.
-- Found lmdb    (include: /usr/include, library: /usr/lib64/liblmdb.so)
-- Found LevelDB (include: /usr/include, library: /usr/lib64/libleveldb.so)
-- Found Snappy  (include: /usr/local/include, library: /usr/local/lib/libsnappy.so)
CMake Warning at cmake/Dependencies.cmake:63 (message):
  -- CUDA is not detected by cmake.  Building without it...
Call Stack (most recent call first):
  CMakeLists.txt:48 (include)


-- Found OpenBLAS libraries: /opt/OpenBLAS/lib/libopenblas.so
-- Found OpenBLAS include: /opt/OpenBLAS/include
-- Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "2.7" (found /usr/local/anaconda2/bin/python2.7)
-- Could NOT find PythonLibs (missing:  PYTHON_LIBRARIES) (found suitable version "2.7.6", minimum required is "2.7")
-- To find NumPy Python interpretator is required to be found.
-- Could NOT find NumPy (missing:  NUMPY_INCLUDE_DIR NUMPY_VERSION) (Required is at least version "1.7.1")
-- Could NOT find Boost
-- Python interface is disabled or not all required dependencies found. Building without it...
-- Detected Doxygen OUTPUT_DIRECTORY: ./doxygen/
-- 
-- ******************* Caffe Configuration Summary *******************
-- General:
--   Version           :   1.0.0-rc4
--   Git               :   unknown
--   System            :   Linux
--   C++ compiler      :   /usr/bin/g++
--   Release CXX flags :   -O3 -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Debug CXX flags   :   -g -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
--   Build type        :   Release
-- 
--   BUILD_SHARED_LIBS :   ON
--   BUILD_python      :   ON
--   BUILD_matlab      :   OFF
--   BUILD_docs        :   ON
--   CPU_ONLY          :   OFF
--   USE_OPENCV        :   OFF
--   USE_LEVELDB       :   ON
--   USE_LMDB          :   ON
--   USE_NCCL          :   OFF
--   ALLOW_LMDB_NOLOCK :   OFF
-- 
-- Dependencies:
--   BLAS              :   Yes (open)
--   Boost             :   Yes (ver. 1.54)
--   glog              :   Yes
--   gflags            :   Yes
--   protobuf          :   Yes (ver. 2.5.0)
--   lmdb              :   Yes (ver. 0.9.10)
--   LevelDB           :   Yes (ver. 1.15)
--   Snappy            :   Yes (ver. ..)
--   CUDA              :   No
-- 
-- Documentaion:
--   Doxygen           :   /usr/bin/doxygen (1.8.6)
--   config_file       :   /home/gullal/Desktop/caffe/.Doxyfile
-- 
-- Install:
--   Install path      :   /home/gullal/Desktop/caffe/install
-- 
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
HDF5_hdf5_cpp_LIBRARY
    linked by target "caffe" in directory /home/gullal/Desktop/caffe/src/caffe
    linked by target "caffe" in directory /home/gullal/Desktop/caffe/src/caffe
HDF5_hdf5_hl_cpp_LIBRARY
    linked by target "caffe" in directory /home/gullal/Desktop/caffe/src/caffe

-- Configuring incomplete, errors occurred!
See also "/home/gullal/Desktop/caffe/CMakeFiles/CMakeOutput.log".
See also "/home/gullal/Desktop/caffe/CMakeFiles/CMakeError.log".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant