windows/Ubuntu上配置--openpose:Fail

144 阅读1分钟
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
  • image.png

  • Config -> Generate ->open Project

  • image.png

  • 编译好设置:

    • image.png

问题一

#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.

问题二

  • image.png

  • 这个东西把我干掉了,网上说用vs2019可以编译,不报错.😊 微软官方没有!

  • 放弃了,用MMPose