【发布时间】:2020-06-09 11:52:39
【问题描述】:
我无法在 windows 中为 Visual Studio 2019 构建 openCV(我需要使用 contribs 库)。我对它的工作原理有点困惑 - 我通过 anaconda 3 安装了 python 3,我得到以下信息错误:
cmake/OpenCVGenSetupVars.cmake:54 处的 CMake 警告(消息): 不支持配置:在安装中验证 setupvars 脚本 目录 调用堆栈(最近的调用优先): CMakeLists.txt:967(包括)
它还测试 python 2 和 python 3 我需要同时安装吗?
我的系统环境变量设置为 C:\DEV\anaconda3\Library\bin
当我尝试构建项目时,我在 Visual Studio 中遇到了数千个错误。
链接到另一个类似问题:
opencv cmake warning meanings: CMakeLists.txt:1066 (include)
谢谢!
【问题讨论】:
标签: python visual-studio opencv cmake opencv-contrib