英文开发版vs2010配置opencv2.4.9

1.添加环境变量

计算机-右键-属性-高级系统属性-环境变量-系统变量-变量PATH-编辑

添加D:\opencv2.4.9\build\x86\vc10\bin;

英文开发版vs2010配置opencv2.4.9_第1张图片


2.新建一个工程文件

右键工程-属性-VC++ directories

Include directories 下编辑  

D:\opencv\build\include

D:\opencv\build\include\opencv

D:\opencv\build\include\opencv2


Library directories下编辑

D:\opencv\build\x86\vc10\lib


Liner-Input-Additional Dependencies

Debug下输入

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_objdetect249d.lib
opencv_ts249d.lib
opencv_video249d.lib


Release版下输入

opencv_calib3d249.lib
opencv_contrib249.lib
opencv_core249.lib
opencv_features2d249.lib
opencv_flann249.lib
opencv_gpu249.lib
opencv_highgui249.lib
opencv_imgproc249.lib
opencv_legacy249.lib
opencv_ml249.lib
opencv_objdetect249.lib
opencv_ts249.lib
opencv_video249.lib

英文开发版vs2010配置opencv2.4.9_第2张图片


你可能感兴趣的:(VS2010,opencv)