在原有版本上配置方式不变。。
配置的主要步骤为:
1、到opencv管网下载opencv2.4.13,位exe文件,双击即可解压到指定目录
2、对电脑的环境变量进行设置
E:\opencv\opencv2.4.13\build\x86\vc12\bin
3、VC++目录下设置引导目录
E:\opencv\opencv2.4.13\build\include
E:\opencv\opencv2.4.13\build\include\opencv
E:\opencv\opencv2.4.13\build\include\opencv2
4、VC++目录下设置库目录
E:\opencv\opencv2.4.13\build\x86\vc12\lib
5、添加附加依赖项
opencv2.4.13配置的lib列表,
dehug模式
opencv_calib3d2413d.lib
opencv_contrib2413d.lib
opencv_core2413d.lib
opencv_features2d2413d.lib
opencv_flann2413d.lib
opencv_gpu2413d.lib
opencv_highgui2413d.lib
opencv_imgproc2413d.lib
opencv_legacy2413d.lib
opencv_ml2413d.lib
opencv_nonfree2413d.lib
opencv_objdetect2413d.lib
opencv_ocl2413d.lib
opencv_photo2413d.lib
opencv_stitching2413d.lib
opencv_superres2413d.lib
opencv_ts2413d.lib
opencv_video2413d.lib
opencv_videostab2413d.lib
release模式
opencv_calib3d2413.lib
opencv_contrib2413.lib
opencv_core2413.lib
opencv_features2d2413.lib
opencv_flann2413.lib
opencv_gpu2413.lib
opencv_highgui2413.lib
opencv_imgproc2413.lib
opencv_legacy2413.lib
opencv_ml2413.lib
opencv_nonfree2413.lib
opencv_objdetect2413.lib
opencv_ocl2413.lib
opencv_photo2413.lib
opencv_stitching2413.lib
opencv_superres2413.lib
opencv_ts2413.lib
opencv_video2413.lib
opencv_videostab2413.lib