I am trying to build OpenPose using CMake and I am getting errors after configuring and generating OpenPose.
make -j`nproc`
Whole console output (if errors appeared), paste the error to PasteBin and then paste the link here: https://pastebin.com/4qUuGnzH
OpenPose version: Latest GitHub commit
General configuration:
lsb_release -a in Ubuntu): Ubuntugcc --version in Ubuntu or VS version in Windows): 7.3.0Non-default settings:
3rd-party software:
cmake --version in Ubuntu): 3.10.2sudo apt install libopencv-devIf GPU mode issue:
cat /usr/local/cuda/version.txt in most cases): 10.0nvidia-smi in Ubuntu): GeForce RTX 2070If CPU-only mode issue:
If Python API:
python -c "import numpy; print numpy.version.version" in Ubuntu):If Windows system:
If speed performance issue:
Please, follow the doc/installation.md and in particular the prerequisites section.
As it is indicated in there, CMake version 3.10.2 (the default one for Ubuntu 18) is not compatible with the CUDA script of Caffe. Install a newer CMake (>=3.12) as the documentation indicates.
Versions 3.08 to 3.11 gives the following error:
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:
CUDA_cublas_device_LIBRARY (ADVANCED)
linked by target "caffe" in directory /home/jakebmalis/Documents/openpose/3rdparty/caffe/src/caffe
I've got the same problem and I have Cmake version: 3.15.3. I've already tried the same command (make -j nproc) with Cmake 3.13.X and 3.14.4. How can I solve that?
System Configuration
General configuration:
Operating system: Ubuntu
Operating system version: 18.04
3rd-party software:
Caffe version: downloaded from https://github.com/CMU-Perceptual-Computing-Lab/caffe.git
CMake version: 3.15.3
OpenCV version: sudo apt install libopencv-dev
If GPU mode issue:
CUDA version (cat /usr/local/cuda/version.txt): 10.1
cuDNN version: 7.6.3
GPU model: GeForce GTX 1060
If Python API:
Python version: 3.7
I'm also facing same problem. Have you got any solution @JakeMalis @gineshidalgo99 @dtandrade ?
**Dependencies:
-- BLAS : Yes (Atlas)
-- Boost : Yes (ver. 1.65)
-- glog : Yes
-- gflags : Yes
-- protobuf : Yes (ver. 3.0.0)
-- NVIDIA CUDA:
-- Target GPU(s) : Auto
-- GPU arch(s) : sm_75
-- cuDNN : Yes (ver. 7.6.5)
-- 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:
CUDA_cublas_device_LIBRARY (ADVANCED)
linked by target "caffe" in directory /home/wowexp/ujjawal/smplify-x-master/openpose/3rdparty/caffe/src/caffe
-- Configuring incomplete, errors occurred!
See also "/home/wowexp/ujjawal/smplify-x-master/openpose/build/caffe/src/openpose_lib-build/CMakeFiles/CMakeOutput.log".
See also "/home/wowexp/ujjawal/smplify-x-master/openpose/build/caffe/src/openpose_lib-build/CMakeFiles/CMakeError.log".
CMakeFiles/openpose_lib.dir/build.make:105: 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:67: 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
I'm still having the same issue
Please, follow the doc/installation.md and in particular the prerequisites section.
As it is indicated in there, CMake version 3.10.2 (the default one for Ubuntu 18) is not compatible with the CUDA script of Caffe. Install a newer CMake (>=3.12) as the documentation indicates.
Versions 3.08 to 3.11 gives the following error:
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: CUDA_cublas_device_LIBRARY (ADVANCED) linked by target "caffe" in directory /home/jakebmalis/Documents/openpose/3rdparty/caffe/src/caffe
I tried with cmake 3.19, it is giving the same error
Most helpful comment
Please, follow the doc/installation.md and in particular the prerequisites section.
As it is indicated in there, CMake version 3.10.2 (the default one for Ubuntu 18) is not compatible with the CUDA script of Caffe. Install a newer CMake (>=3.12) as the documentation indicates.
Versions 3.08 to 3.11 gives the following error: