VS2013配置opencv3.0.0 (win8.1)
今天下载了最新版本的opencv3.0.0,之前一直是opencv2.4.8
- 点击.exe文件,我将解压后的文件夹放在
D:\
盘,取名opencv30,D:\opencv30
- 添加环境变量:
D:\opencv30\build\x86\vc12\bin
(这里我只添加32位的路径),ok - vs新建项目中设置属性properties:
VC++目录->包含目录,添加:
D:\opencv30\build\include
D:\opencv30\build\include\opencv
D:\opencv30\build\include\opencv2
VC++目录->库目录,添加:
D:\opencv30\build\x86\vc12\lib
连接器-〉输入-〉附加依赖项,添加:
debug
opencv_ts300d.lib
opencv_world300d.lib
release
opencv_ts300.lib
opencv_world300.lib
2015-06-23 16:20
opencv3.0.0 自带的例子运行出错(\sources\samples\cpp\tutorial_code\ImgProc),这我很心塞
后来还是用2.4.10