OpenCV错误LNK1104:无法打开文件'opencv_core231.lib' [英] OpenCV error LNK1104: cannot open file 'opencv_core231.lib'
问题描述
我使用Visual Studio 2013和Windows 8.1 x64运行OpenCV应用程序时遇到问题。
我按照本指南: http://www.youtube.com/watch?v=cgo0UitHfp8
我按照指南中的说明做了一切,除非更改:
x64而不是x86和vs11而不是文件路径中的vs10。
我试图在OpenCV 2.4.6上运行它例如'opencv_core246.lib'而不是'opencv_core231.lib'就像在错误中。
你能帮助我吗?
确保你包含和链接正确的目录,这可以在Visual Studio解决方案属性中进行(右键单击解决方案,选择 / code>)。例如(这是在Visual Studio 2010,但它应该类似于Visual Studio 2013)。
设置包含路径
< img src =http://i.stack.imgur.com/PqpKg.pngalt =设置包含路径,步骤2>
设置库路径
设置库依赖
Hi i have a problem running the OpenCV application using Visual Studio 2013 and Windows 8.1 x64.
I followed this guide: http://www.youtube.com/watch?v=cgo0UitHfp8 I did everything as said in the guide except the changes: x64 instead of x86 and vs11 instead of vs10 in file paths.
Im trying to run it on OpenCV 2.4.6 (where file names are like 'opencv_core246.lib' and not 'opencv_core231.lib' like in the error.
Can you help me?
Make sure that you are including and linking the correct directories. This can be done in Visual Studio solution properties (right click on the solution and select Properties
). For example (this is in Visual Studio 2010, but it should be similar in Visual Studio 2013)..
Set include path
Set library path
Set library dependencies
这篇关于OpenCV错误LNK1104:无法打开文件'opencv_core231.lib'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!