CMake Error: Could not create named generator "Visual Studio 15 2017 Win64"

安装完OPENVINO,运行demo时候,一直提示

CMake Error: Could not create named generator  "Visual Studio 15 2017 Win64"

百思不得其解,最后在stackoverflow上找到一篇,情况类似的解决方案。
在bat文件中,原来写的是

cmake "-G Visual Studio %VS_VERSION% Win64" "%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\samples"

改成一下结构即可

cmake "-G" "Visual Studio %VS_VERSION% Win64" "%INTEL_OPENVINO_DIR%\deployment_tools\inference_engine\samples"

你可能感兴趣的:(深度学习框架)