git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose.git
cd ./openpose/3rdparty
git clone https://github.com/pybind/pybind11.git
git clone https://github.com/CMU-Perceptual-Computing-Lab/caffe.git
cd ../
mkdir build
cd build
cmake-gui
-
-
先
Config->Generate->open Project -
-
编译好设置:
问题一
#error: -- unsupported Microsoft Visual Studio version! Only the versions between 2017 and 2022 (inclusive) are supported! The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk.
- 参考文献: CUDA compatibility with Visual Studio 2022 version 17.10
- 快速解决: 将
visual studio回滚到17.9
问题二
-
-
这个东西把我干掉了,网上说用
vs2019可以编译,不报错.😊 微软官方没有! -
放弃了,用
MMPose