ubuntu18.04,cpu, 执行make `nproc`后:cmake error:
CMake Error at CMakeLists.txt:39 (include): include could not find requested file:
cmake/Utils.cmake
-- GCC detected, adding compile flags -- GCC detected, adding compile flags -- Building with CUDA. CMake Error at CMakeLists.txt:425 (include): include could not find requested file:
cmake/Cuda.cmake
CMake Warning at CMakeLists.txt:426 (find_package): By not providing "FindCuDNN.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "CuDNN", but CMake did not find one.
Could not find a package configuration file provided by "CuDNN" with any of the following names:
CuDNNConfig.cmake
cudnn-config.cmake
Add the installation prefix of "CuDNN" to CMAKE_PREFIX_PATH or set "CuDNN_DIR" to a directory containing one of the above files. If "CuDNN" provides a separate development package or SDK, be sure it has been installed.
CMake Warning at CMakeLists.txt:429 (find_package): By not providing "FindGlog.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Glog", but CMake did not find one.
Could not find a package configuration file provided by "Glog" with any of the following names:
GlogConfig.cmake
glog-config.cmake
Add the installation prefix of "Glog" to CMAKE_PREFIX_PATH or set "Glog_DIR" to a directory containing one of the above files. If "Glog" provides a separate development package or SDK, be sure it has been installed.
CMake Error at CMakeLists.txt:526 (message): Glog not found. Install Glog from the command line using the command(s) - sudo apt-get install libgoogle-glog-dev
-- Configuring incomplete, errors occurred! See also "/home/lzh/下载/openpose-1.7 (1).0/build/caffe/src/openpose_lib-build/CMakeFiles/CMakeOutput.log". See also "/home/lzh/下载/openpose-1.7 (1).0/build/caffe/src/openpose_lib-build/CMakeFiles/CMakeError.log". CMakeFiles/openpose_lib.dir/build.make:91: 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:82: recipe for target 'CMakeFiles/openpose_lib.dir/all' failed make[1]: *** [CMakeFiles/openpose_lib.dir/all] Error 2 Makefile:90: recipe for target 'all' failed make: *** [all] Error 2
Posting rules
- No duplicated posts, only 1 new post opened a day, and up to 2 opened a week. Otherwise, extrict user bans will occur.
- Check the FAQ section, other GitHub issues, and general documentation before posting. E.g., low-speed, out-of-memory, output format, 0-people detected, installation issues, ...).
- Keep posting all your issues in the same post.
- No bans if you are unsure whether the post is duplicated!
- Fill all the Your System Configuration section if you are facing an error or unexpected behavior. Some posts (e.g., feature requests) might not require it.
- No questions about training or 3rd party libraries:
- OpenPose only implements testing. For training, check OpenPose train.
- Caffe errors/issues: Check Caffe documentation.
- CUDA/cuDNN check failed errors: They are usually fixed by re-installing CUDA, then re-installing the proper cuDNN version, then rebooting, and then re-installing OpenPose. Otherwise, check Nvidia/CUDA/cuDNN forums.
- OpenCV errors: Install the default/pre-compiled OpenCV or check for OpenCV online help.
- Set a proper issue title: Add the OS (Ubuntu, Windows) and be specific (e.g., do not call it:
Error). - Only English comments.
- Remove these posting rules from your post but follow them! Posts which do not follow these rules will be ignored/deleted and those users banned with no further clarification.
Issue Summary
Executed Command (if any)
Note: add --logging_level 0 --disable_multi_thread to get higher debug information.
OpenPose Output (if any)
Errors (if any)
Type of Issue
Select the topic(s) on your post, delete the rest:
- Compilation/installation error
- Execution error
- Help wanted
- Question
- Enhancement / offering possible extensions / pull request / etc
- Other (type your own type)
Your System Configuration
-
Whole console output (if errors appeared), paste the error to PasteBin and then paste the link here: LINK
-
OpenPose version: Latest GitHub code? Or specific commit (e.g., d52878f)? Or specific version from
Releasesection (e.g., 1.2.0)? -
General configuration:
- Installation mode: CMake, sh script, manual Makefile installation, ... (Ubuntu); CMake, ... (Windows); ...?
- Operating system (
lsb_release -ain Ubuntu): - Operating system version (e.g., Ubuntu 16, Windows 10, ...):
- Release or Debug mode? (by default: release):
- Compiler (
gcc --versionin Ubuntu or VS version in Windows): 5.4.0, ... (Ubuntu); VS2015 Enterprise Update 3, VS2017 community, ... (Windows); ...?
-
Non-default settings:
- 3-D Reconstruction module added? (by default: no):
- Any other custom CMake configuration with respect to the default version? (by default: no):
-
3rd-party software:
- Caffe version: Default from OpenPose, custom version, ...?
- CMake version (
cmake --versionin Ubuntu): - OpenCV version: pre-compiled
apt-get install libopencv-dev(only Ubuntu); OpenPose default (only Windows); compiled from source? If so, 2.4.9, 2.4.12, 3.1, 3.2?; ...?
-
If GPU mode issue:
- CUDA version (
cat /usr/local/cuda/version.txtin most cases): - cuDNN version:
- GPU model (
nvidia-smiin Ubuntu):
- CUDA version (
-
If CPU-only mode issue:
- CPU brand & model:
- Total RAM memory available:
-
If Python API:
- Python version: 2.7, 3.7, ...?
- Numpy version (
python -c "import numpy; print numpy.version.version"in Ubuntu):
-
If Windows system:
- Portable demo or compiled library?
-
If speed performance issue:
- Report OpenPose timing speed based on the profiling documentation.
@houshuaishuai From the error log, you have posted, I could find the following useful information:
Glog not found. Install Glog from the command line using the command(s) -
sudo apt-get install libgoogle-glog-dev
Therefore, please install Glog using the following command:
sudo apt-get install libgoogle-glog-dev
On a side note, I suggest you to format your issue properly. For example, you have ignored Posting rules completely. Please read your issue once and format it accordingly.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.