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.38k stars 7.88k forks source link

Project "openpose.vcxproj" build completed -- failed. Win 11,CUDA11.7,Cudnn8.5 #2241

Open sch0722 opened 1 year ago

sch0722 commented 1 year ago

Sorry, this my first post, so please forgive me for any incompletely representation. If need more information , I will reply as soon as posible.

Errors (if any)

1> Error generating 1> C:/Jeff/op_test012_cmake_3.19.7/openpose/build/src/openpose/CMakeFiles/openpose.dir/face/Release/openpose_generated_renderFace.cu.obj 1> 1> 1>C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: 'C:\Jeff\op_test012_cmake_3.19.7\openpose\ src\openpose\face\renderFace.cu;C:\Jeff\op_test012_cmake_3.19.7\openpose\src\openpose\gpu\cuda.cu;C:\Jeff\op_test012_cmake_3.19.7\openpose\src\openpose\hand\renderHand. cu;C:\Jeff\op_test012_cmake_3.19.7\openpose\src\openpose\net\bodyPartConnectorBase.cu;C:\Jeff\op_test012_cmake_3.19.7\openpose\src\openpose\net\maximumBase.cu;C:\Jeff\op_test012_cmake_3 .19.7\openpose\src\openpose\net\nmsBase.cu;C:\Jeff\op_test012_cmake_3.19.7\openpose\src\openpose\net\resizeAndMergeBase.cu;C:\Jeff\op_test012_cmake_3.19.7\openpose\src\openpose Custom build for \pose\renderPose.cu;C:\Jeff\op_test012_cmake_3.19.7\openpose\src\openpose\tracking\pyramidalLK.cu' ended with code 1. 1>Project "openpose.vcxproj" build completed -- failed. 2>------ Construction started: Project: OpenPoseDemo, Setting: Release x64 ------ 2>openpose.cpp 2>C:\Jeff\op_test012_cmake_3.19.7\openpose\include\openpose/flags.hpp(49,1): warning C4245: 'Initializing': converting from 'int' to 'google::uint64', signed/unsigned Does not match 2>LINK : fatal error LNK1181: Unable to open input file '....\src\openpose\Release\openpose.lib' 2>Project "OpenPoseDemo.vcxproj" build completed -- failed. ========== Build: 0 for success, 2 for failure, 0 for latest status, 0 for skipped ========== ========== Build started at 03:28 AM and took 04.957 seconds ==========

Type of Issue

After I finished configuring and Generating in CMake, open openpose.sln to build the project, then get the error. If I click Open Project inCMake, it will give me a error ActivityLog.xml image

My System Configuration

  1. OpenPose version: v1.7.0
  2. Operating System : windows11
  3. compiler : VS2019 Enterprise (16.8.6)
  4. 3rd-party software:
    • Caffe version: Download from #1602
    • CMake version : v3.19.7
    • OpenCV version: v4.2
  5. If GPU mode issue:
    • CUDA version (cat /usr/local/cuda/version.txt in most cases):v11.7
    • cuDNN version:8.5(CUDA11.x)
    • GPU model :RTX 3070Ti
  6. If Python API:
    • Python version: v3.7.9
    • Numpy version :v1.19.5
L22334 commented 1 year ago

你好,我想问一下,你解决了吗

sch0722 commented 1 year ago

@L22334 應該是解決了,我印象中好像只要是cmake錯誤,就是全部重來。 一定要從visual studio開始,只要有一步沒做好,就要重新從visual studio開始吧。