【问题标题】:Error in building OpenCV构建 OpenCV 时出错
【发布时间】:2018-07-02 11:27:25
【问题描述】:

我正在尝试从头开始构建 OpenCV(启用了贡献模块和 cuda)。我做了十多次这项工作,我成功地使用了它,但这次出现了我不认识的错误。在 Visual Studio 的构建部分,我看到大约 100 个这样的错误:

LINK:致命错误 LNK1104:无法打开文件 '....\lib\Debug\opencv_imgproc330d.lib'

我的建筑步骤是:

1- 下载 OpenCV 源文件。

2- 下载 OpenCV_Contrib

3- 将贡献模块复制到源模块。

4- 使用 CMake GUI 配置和生成。

5- 使用 Visual Studio 2015 构建

我尝试了不同的OpenCV版本,但没有区别......

非常感谢

系统信息

OpenCV => 3.0、3.3、3.41 已测试。

操作系统 => Windows 10 64 位

编译器 => Visual Studio 2015

【问题讨论】:

    标签: visual-studio opencv image-processing cmake


    【解决方案1】:

    我解决了这个问题。我设置了 cuda 版本 8 并禁用了与 Visual Studio 的集成。现在可以了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-04-03
      • 2013-05-25
      • 1970-01-01
      • 1970-01-01
      • 2017-10-05
      • 2016-03-10
      • 2017-07-20
      相关资源
      最近更新 更多