OpenCV doesn't work with Visual Studio

后端 未结 4 968
轮回少年
轮回少年 2021-01-03 02:51

I just installed openCV ver. 3.00 beta on my computer and I\'m trying to test it with VS2013. I followed quick start guide:

1) Installation for windows, using pre-bu

4条回答
  •  温柔的废话
    2021-01-03 02:58

    I'm also facing the same problem. I am using win7 x64 with VS2015 and OpenCV 3.2 After several hours of struggling I finally found out the answer. Each version is not the same, and there may be some differences. So this is what I did :

    1. Find where your libraries are for Additional Library, it is located on $OPENCV$/lib folder
    2. ONLY put those is $OPENCV$/lib folder into the Additional Library (Project properties, Configuration Properties, Linker, Input). In my case I put opencv_world300d.lib (according to official tutorial which is not up to date!) into my Additional Library. But after I check the library folder, there is opencv_world320d.lib, so instead of 300 I write 320.

提交回复
热议问题