Win10 中VS2015 配置opencv3.2

新建一个win32控制台工程,选中后点击鼠标右键,选择属性
Win10 中VS2015 配置opencv3.2

1.属性—>vc++目录—>包含目录,编辑,包含三个目录的路径,
分别是 opencv安装路径下的 include; include/opencv ;include/opencv2
Win10 中VS2015 配置opencv3.2

2.随后在本属性表库目录下添加一个opencv文件中的build—>X64—>vc14—>lib的路径
Win10 中VS2015 配置opencv3.2

3在本属性表的 链接器 选项中的输入项,添加依赖项
手动输入opencv_world320d.lib

注意 以上配置后vs程序只能在debug,x64模式下运行
Win10 中VS2015 配置opencv3.2