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.29k stars 7.87k forks source link

Ubuntu CMake Error: cmake_symlink_library: System Error: Permission denied #819

Closed KevinQian97 closed 6 years ago

KevinQian97 commented 6 years ago

Issue Summary

When I use the command "make -jnproc" to build openpose, I am encountered with a weird Permission denied error. I have already use sudo -i to change into a root role.

Executed Command (if any)

Note: add --logging_level 0 --disable_multi_thread to get higher debug information.

root@gpuserver6:/media/posefs3b/Users/xiu/kevin_space/openpose/build# make -jnproc

OpenPose Output (if any)

[ 86%] Linking CXX shared library ../../lib/libcaffe.so CMake Error: cmake_symlink_library: System Error: Permission denied make[5]: [lib/libcaffe.so.1.0.0] Error 1 make[5]: Deleting file `lib/libcaffe.so.1.0.0' make[4]: [src/caffe/CMakeFiles/caffe.dir/all] Error 2 make[3]: [all] Error 2 make[2]: [caffe/src/openpose_caffe-stamp/openpose_caffe-build] Error 2 make[1]: [CMakeFiles/openpose_caffe.dir/all] Error 2 make: *** [all] Error 2

Type of Issue

You might select multiple topics, delete the rest:

Your System Configuration

  1. OpenPose version: Latest GitHub code? Or specific commit (e.g., d52878f)? Or specific version from Release section (e.g., 1.2.0)?

  2. General configuration:

    • Installation mode: CMake
    • Operating system (lsb_release -a in Ubuntu): Ubuntu 14.04.5 LTS
    • Release or Debug mode? (by default: release): release
    • Compiler (gcc --version in Ubuntu or VS version in Windows): gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
  3. 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):
  4. 3rd-party software:

    • Caffe version: Default from OpenPose
    • CMake version (cmake --version in Ubuntu): cmake version 3.9.3
    • OpenCV version: apt-get install libopencv-dev (only Ubuntu);
  5. If GPU mode issue:

    • CUDA version (cat /usr/local/cuda/version.txt in most cases):CUDA Version 8.0.61
    • cuDNN version: 5.0.1
    • GPU model (nvidia-smi in Ubuntu): TitanX
  6. If CPU-only mode issue:

    • CPU brand & model:
    • Total RAM memory available:
  7. If Python API:

    • Python version: 2.7
    • Numpy version (python -c "import numpy; print numpy.version.version" in Ubuntu):
  8. If Windows system:

    • Portable demo or compiled library?
  9. If speed performance issue:

    • Report OpenPose timing speed based on this link.
stale[bot] commented 6 years ago

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.