deps/openpose/caffe_custom: The dependency target "pycaffe" of target "pytest" does not exist.
This is not breaking for me as I don't need this right-away, but should be investigated:
On Ubuntu 20, preparing deps/openpose/caffee_custom
fails with this message for me:
-- Configuring done
CMake Error at CMakeLists.txt:109 (add_dependencies):
The dependency target "pycaffe" of target "pytest" does not exist.
Full output:
Prepare module deps/openpose/caffe_custom ...
Run 'cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_C_COMPILER_LAUNCHER=""
-DCMAKE_CXX_COMPILER_LAUNCHER="" -DARMARX_BUILD_TESTS="ON" -DCMAKE_C_COMPILER="/usr/bin/gcc-6"
-DCMAKE_CXX_COMPILER="/usr/bin/g++-6" -DCUDA_HOST_COMPILER="/usr/bin/g++-6"
-DCMAKE_INSTALL_PREFIX="install"
-DCUDA_TOOLKIT_ROOT_DIR="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6"
-DCUDA_SDK_ROOT_DIR="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6"
-DCUDNN_ROOT="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6"
-DCUDNN_INCLUDE="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6/include"
-DCUDNN_LIBRARY="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6/lib64/libcudnn.so" -DCUDA_
CUDA_LIBRARY="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6/lib64/stubs/libcuda.so"
-DCUDA_ARCH_NAME="Manual" -DCUDA_ARCH_BIN="35 37 50 52 53 60 61 62 70 72 75"
-DUSE_LEVELDB="OFF" ..' in '/home/rkartmann/code/deps/openpose/caffe_custom/build' ...
─────────────────────────────────────── Command output ───────────────────────────────────────
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 6.4.0
-- The CXX compiler identification is GNU 6.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc-6 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++-6 - skipped
-- 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.
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.54") found components: system thread filesystem
-- Found Threads: TRUE
-- 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.6.1")
-- Found PROTOBUF Compiler: /usr/bin/protoc
-- Found HDF5: /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.so;/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so;/usr/lib/x86_64-linux-gnu/libpthread.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/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
-- Found LMDB: /usr/include
-- Found lmdb (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so)
-- CUDA detected: 10.1
-- Found cuDNN: ver. 7.6.5 found (include: /home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6/include, library: /home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6/lib64/libcudnn.so)
-- Added CUDA NVCC flags for: sm_35 sm_37 sm_50 sm_52 sm_53 sm_60 sm_61 sm_62 sm_70 sm_72 sm_75 compute_50
-- OpenCV found (/home/rkartmann/code/deps/opencv-3/main/opencv-3.4.16/build)
-- 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
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.18", minimum required is "2.7")
-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version "2.7")
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named numpy
-- Could NOT find NumPy (missing: NUMPY_INCLUDE_DIR NUMPY_VERSION) (Required is at least version "1.7.1")
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.46") found components: python
-- Found Doxygen: /home/rkartmann/code/deps/doxygen/doxygen-1.8.17/doxygen-1.8.17/bin/doxygen (found version "1.8.17") found components: doxygen dot
-- Python interface is disabled or not all required dependencies found. Building without it...
-- Detected Doxygen OUTPUT_DIRECTORY: ./doxygen/
-- Found Git: /usr/bin/git (found version "2.25.1")
--
-- ******************* Caffe Configuration Summary *******************
-- General:
-- Version : 1.0.0
-- Git : 1.0-150-g2d4bf549
-- System : Linux
-- C++ compiler : /usr/bin/g++-6
-- 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 : ON
-- BUILD_matlab : OFF
-- BUILD_docs : ON
-- CPU_ONLY : OFF
-- USE_OPENCV : ON
-- USE_LEVELDB : OFF
-- USE_LMDB : ON
-- USE_NCCL : OFF
-- ALLOW_LMDB_NOLOCK : OFF
-- USE_HDF5 : ON
--
-- Dependencies:
-- BLAS : Yes (Atlas)
-- Boost : Yes (ver. 1.71)
-- glog : Yes
-- gflags : Yes
-- protobuf : Yes (ver. 3.6.1)
-- lmdb : Yes (ver. 0.9.24)
-- OpenCV : Yes (ver. 3.4.16)
-- CUDA : Yes (ver. 10.1)
--
-- NVIDIA CUDA:
-- Target GPU(s) : Manual
-- GPU arch(s) : sm_35 sm_37 sm_50 sm_52 sm_53 sm_60 sm_61 sm_62 sm_70 sm_72 sm_75 compute_50
-- cuDNN : Yes (ver. 7.6.5)
--
-- Documentaion:
-- Doxygen : /home/rkartmann/code/deps/doxygen/doxygen-1.8.17/doxygen-1.8.17/bin/doxygen (1.8.17)
-- config_file : /home/rkartmann/code/deps/openpose/caffe_custom/.Doxyfile
--
-- Install:
-- Install path : /home/rkartmann/code/deps/openpose/caffe_custom/build/install
--
-- Configuring done
CMake Error at CMakeLists.txt:109 (add_dependencies):
The dependency target "pycaffe" of target "pytest" does not exist.
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
ARMARX_BUILD_TESTS
CMake Generate step failed. Build files cannot be regenerated correctly.
──────────────────────────────────────────────────────────────────────────────────────────────
Preparing deps/openpose/caffe_custom failed:
Running 'cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_C_COMPILER_LAUNCHER=""
-DCMAKE_CXX_COMPILER_LAUNCHER="" -DARMARX_BUILD_TESTS="ON" -DCMAKE_C_COMPILER="/usr/bin/gcc-6"
-DCMAKE_CXX_COMPILER="/usr/bin/g++-6" -DCUDA_HOST_COMPILER="/usr/bin/g++-6"
-DCMAKE_INSTALL_PREFIX="install"
-DCUDA_TOOLKIT_ROOT_DIR="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6"
-DCUDA_SDK_ROOT_DIR="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6"
-DCUDNN_ROOT="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6"
-DCUDNN_INCLUDE="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6/include"
-DCUDNN_LIBRARY="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6/lib64/libcudnn.so" -DCUDA_
CUDA_LIBRARY="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6/lib64/stubs/libcuda.so"
-DCUDA_ARCH_NAME="Manual" -DCUDA_ARCH_BIN="35 37 50 52 53 60 61 62 70 72 75"
-DUSE_LEVELDB="OFF" ..' failed with return code 1 in
'/home/rkartmann/code/deps/openpose/caffe_custom/build'.
Error: Running 'cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_C_COMPILER_LAUNCHER="" -DCMAKE_CXX_COMPILER_LAUNCHER="" -DARMARX_BUILD_TESTS="ON" -DCMAKE_C_COMPILER="/usr/bin/gcc-6" -DCMAKE_CXX_COMPILER="/usr/bin/g++-6" -DCUDA_HOST_COMPILER="/usr/bin/g++-6" -DCMAKE_INSTALL_PREFIX="install" -DCUDA_TOOLKIT_ROOT_DIR="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6" -DCUDA_SDK_ROOT_DIR="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6" -DCUDNN_ROOT="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6" -DCUDNN_INCLUDE="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6/include" -DCUDNN_LIBRARY="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6/lib64/libcudnn.so" -DCUDA_CUDA_LIBRARY="/home/rkartmann/code/deps/cuda/cuda-10.1-cudnn-7.6/lib64/stubs/libcuda.so" -DCUDA_ARCH_NAME="Manual" -DCUDA_ARCH_BIN="35 37 50 52 53 60 61 62 70 72 75" -DUSE_LEVELDB="OFF" ..' failed with return code 1 in '[link=file:///home/rkartmann/code/deps/openpose/caffe_custom/build]/home/rkartmann/code/deps/openpose/caffe_custom/build[/link]'.
Edited by Rainer Kartmann