CMU-Perceptual-Computing-Lab / openpose

OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation
https://cmu-perceptual-computing-lab.github.io/openpose
Other
31.19k stars 7.86k forks source link

boost error when run 'make -j`nproc`' to install openpose #700

Closed universewill closed 6 years ago

universewill commented 6 years ago
  1. my enviroment: ubuntu16.04 , cuda9.0, cudnn7.0.5, python3.6

  2. OpenPose version: Latest GitHub code

  3. General configuration:

    • Installation mode: cmake .. with python option turned on
    • gcc version: 5.4.0
  4. cmake version: 3.11.1

-- NVIDIA CUDA:
--   Target GPU(s)     :   Auto
--   GPU arch(s)       :   sm_61
--   cuDNN             :   Yes (ver. 7.0.5)
--
-- Install:
--   Install path      :   /home/universe/jupyter/gxl/project/action/openPose/openpose/build/caffe
--
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:
/home/universe/jupyter/gxl/project/action/openPose/openpose/3rdparty/caffe/src/caffe/Boost_INCLUDE_DIR
   used as include directory in directory /home/universe/jupyter/gxl/project/action/openPose/openpose/3rdparty/caffe/src/caffe

-- Configuring incomplete, errors occurred!
See also "/home/universe/jupyter/gxl/project/action/openPose/openpose/build/caffe/src/openpose_caffe-build/CMakeFiles/CMakeOutput.log".
See also "/home/universe/jupyter/gxl/project/action/openPose/openpose/build/caffe/src/openpose_caffe-build/CMakeFiles/CMakeError.log".
CMakeFiles/openpose_caffe.dir/build.make:105: recipe for target 'caffe/src/openpose_caffe-stamp/openpose_caffe-configure' failed
make[2]: *** [caffe/src/openpose_caffe-stamp/openpose_caffe-configure] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/openpose_caffe.dir/all' failed
make[1]: *** [CMakeFiles/openpose_caffe.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
soulslicer commented 6 years ago

You need to install boost.

sudo apt-get install libboost-all-dev

Please check the instructions. The dep installs can be found in this script:

https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/ubuntu/install_cmake.sh