VS2015配置opencv3.2.0
由于最新版的opencv3.2.0的windows版本只提供了v14版本(技术还是用最新版的为好),我觉得自行编译opencv还是算了,特意下了个vs2015,然后开始配置opencv。
到此处下载最新版windows版本的opencv
http://opencv.org/
解压后自动生成目录
给环境变量中系统变量里的PATH添加:E:\opencv\build\x64\vc14\bin
在solution exploer中右键项目打开properties
进入VC++Directories
找到Include Directories
E:\opencv\build\include E:\opencv\build\include\opencv E:\opencv\build\include\opencv2
找到Library Directories
添加E:\opencv\build\x64\vc14\lib
然后进入Linker下的Input,给Additional Dependencies添加:opencv_world320d.lib
此lib位于E:\opencv\build\x64\vc14\lib
文件名最后一个d代表debug版本,没有d则代表release版本。
OK
相关推荐
lihuifei 2020-02-02
lihuifei 2020-05-04
learningCV 2020-11-10
learningCV 2020-08-25
huang00 2020-08-21
wangdaren 2020-08-15
BeanJoy 2020-07-28
csdmeb 2020-06-25
wangdaren 2020-06-14
pythonxuexi 2020-06-13
woniulx0 2020-06-13
greent00 2020-06-10
liangzuojiayi 2020-06-09
greent00 2020-06-09
csdmeb 2020-06-08
BeanJoy 2020-06-06
lihuifei 2020-06-05
wangdaren 2020-06-03