BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
33.96k stars 18.72k forks source link

CMake Error at /opt/cmake-3.14.5/share/cmake-3.14/Modules/FindBoost.cmake:2165 (message): Unable to find the requested Boost libraries. #6984

Open HongChow opened 3 years ago

HongChow commented 3 years ago

OS: UBUNTU18.04 Scanning dependencies of target openpose_lib [ 12%] Creating directories for 'openpose_lib' [ 25%] No download step for 'openpose_lib' [ 37%] No patch step for 'openpose_lib' [ 50%] No update step for 'openpose_lib' [ 62%] Performing configure step for 'openpose_lib' -- The C compiler identification is GNU 5.5.0 -- The CXX compiler identification is GNU 5.5.0 -- 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 CMake Warning (dev) at cmake/Misc.cmake:32 (set): implicitly converting 'BOOLEAN' to 'STRING' type. Call Stack (most recent call first): CMakeLists.txt:25 (include) This warning is for project developers. Use -Wno-dev to suppress it.

-- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
CMake Error at /opt/cmake-3.14.5/share/cmake-3.14/Modules/FindBoost.cmake:2165 (message): Unable to find the requested Boost libraries.

Boost version: 1.65.1

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:8 (find_package) CMakeLists.txt:49 (include)

-- Found GFlags: /usr/include
-- Found gflags (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so) -- Found Glog: /usr/include
-- Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so) -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version "3.0.0") -- Found PROTOBUF Compiler: /usr/bin/protoc -- HDF5: Using hdf5 compiler wrapper to determine C configuration -- HDF5: Using hdf5 compiler wrapper to determine CXX configuration -- Found HDF5: /home/hong/anaconda3/lib/libhdf5_cpp.so;/home/hong/anaconda3/lib/libhdf5.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/home/hong/anaconda3/lib/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "1.10.4") found components: HL -- CUDA detected: 10.0 -- Found cuDNN: ver. 7.6.3 found (include: /usr/local/cuda/include, library: /usr/local/cuda/lib64/libcudnn.so) -- Added CUDA NVCC flags for: sm_61 -- Found Atlas: /usr/include/x86_64-linux-gnu
-- Found Atlas (include: /usr/include/x86_64-linux-gnu library: /usr/lib/x86_64-linux-gnu/libatlas.so lapack: /usr/lib/x86_64-linux-gnu/liblapack.so -- Python interface is disabled or not all required dependencies found. Building without it... -- Found Git: /usr/bin/git (found version "2.17.1") -- -- Caffe Configuration Summary -- General: -- Version : 1.0.0 -- Git : 1.0-148-gb846ff93 -- System : Linux -- C++ compiler : /usr/bin/c++ -- Release CXX flags : -O3 -DNDEBUG -fPIC -Wall -std=c++11 -Wno-sign-compare -Wno-uninitialized -- Debug CXX flags : -g -fPIC -Wall -std=c++11 -Wno-sign-compare -Wno-uninitialized -- Build type : Release -- -- BUILD_SHARED_LIBS : ON -- BUILD_python : OFF -- BUILD_matlab : OFF -- BUILD_docs : OFF -- CPU_ONLY : OFF -- USE_OPENCV : OFF -- USE_LEVELDB : OFF -- USE_LMDB : OFF -- USE_NCCL : OFF -- ALLOW_LMDB_NOLOCK : OFF -- USE_HDF5 : ON -- -- Dependencies: -- BLAS : Yes (Atlas) -- Boost : Yes (ver. 1.65) -- glog : Yes -- gflags : Yes -- protobuf : Yes (ver. 3.0.0) -- CUDA : Yes (ver. 10.0) -- -- NVIDIA CUDA: -- Target GPU(s) : Auto -- GPU arch(s) : sm_61 -- cuDNN : Yes (ver. 7.6.3) -- -- Install: -- Install path : /home/hong/Desktop/PJTs/Pose/openpose/build/caffe -- -- Configuring incomplete, errors occurred! See also "/home/hong/Desktop/PJTs/Pose/openpose/build/caffe/src/openpose_lib-build/CMakeFiles/CMakeOutput.log". See also "/home/hong/Desktop/PJTs/Pose/openpose/build/caffe/src/openpose_lib-build/CMakeFiles/CMakeError.log". CMakeFiles/openpose_lib.dir/build.make:106: recipe for target 'caffe/src/openpose_lib-stamp/openpose_lib-configure' failed make[2]: [caffe/src/openpose_lib-stamp/openpose_lib-configure] Error 1 CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/openpose_lib.dir/all' failed make[1]: [CMakeFiles/openpose_lib.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2