简体   繁体   English

建立OpenCV时发生错误

[英]Error in building OpenCV

I am trying to build OpenCV (with contribe modules and cuda enabled) from scratch. 我正在尝试从头开始构建OpenCV(启用contribe模块和cuda)。 I do this job more than ten times and I used it successfully but this time there is an error I do not recognize it. 我做了十次以上的工作,并且成功使用了它,但是这次出现了一个错误,我无法识别。 In the building section with visual studio I see about 100 errors like this one: 在带有Visual Studio的建筑部分中,我看到了大约100个类似这样的错误:

LINK : fatal error LNK1104: cannot open file '....\\lib\\Debug\\opencv_imgproc330d.lib' 链接:致命错误LNK1104:无法打开文件'.... \\ lib \\ Debug \\ opencv_imgproc330d.lib'

The steps of my building are: 我建立的步骤是:

1- Download OpenCV source files. 1-下载OpenCV源文件。

2- Download OpenCV_Contrib 2-下载OpenCV_Contrib

3- Copy contrib modules to the source one. 3-复制contrib模块到源一。

4- Config and generate with CMake GUI. 4-配置并使用CMake GUI生成。

5- Build with Visual studio 2015 5-使用Visual Studio 2015构建

I try it with different OpenCV versions, but there is no difference... 我尝试使用不同的OpenCV版本,但没有区别...

Thanks a lot 非常感谢

System information 系统信息

OpenCV => 3.0, 3.3, 3.41 tested. OpenCV => 3.0、3.3、3.41已测试。

Operating System => Windows 10 64 Bit 操作系统=> Windows 10 64位

Compiler => Visual Studio 2015 编译器=> Visual Studio 2015

I solved the problem. 我解决了问题。 I setup cuda version 8 and disabled integration with visual studio. 我设置了cuda版本8,并禁用了与Visual Studio的集成。 Now that is OK. 现在可以了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM