新手学习opencv二:安装详细说明

            新手学习opencv二:安装详细说明 

win7平台,vs2010,opencv2.4.9,我的opencv安装路径:
新手学习opencv二:安装详细说明_第1张图片
1.配置环境变量D:\opencv\build\x86\vc10\bin(注意配置完环境变量,记得关机或注销一下,最好重启,
这点也是大家配置好,但是Opencv有些库不能用的原因)

新手学习opencv二:安装详细说明_第2张图片


2.包含目录和库目录
包含目录:
D:\opencv\build\include
D:\opencv\build\include\opencv
D:\opencv\build\include\opencv2
库目录:
D:\opencv\build\x86\vc10\lib
新手学习opencv二:安装详细说明_第3张图片


3.附加依赖项:建议用到哪几个dll就添加哪几个dll,当然都加进去也是没有问题的,但是当你打包发布或 做ocx控件时,有时候就麻烦了。注意debug下的opencv lib和release下的lib是不一样的。
opencv_calib3d249d.lib
opencv_contrib249d.lib
opencv_core249d.lib
opencv_features2d249d.lib
opencv_flann249d.lib
opencv_gpu249d.lib
opencv_highgui249d.lib
opencv_imgproc249d.lib
opencv_legacy249d.lib
opencv_ml249d.lib
opencv_nonfree249d.lib
opencv_objdetect249d.lib
opencv_photo249d.lib
opencv_stitching249d.lib
opencv_ts249d.lib
opencv_video249d.lib
opencv_videostab249d.lib



你可能感兴趣的:(新手学习opencv二:安装详细说明)