欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Microsoft Visual Studio 2010工程opencv环境

程序员文章站 2022-07-14 09:04:20
...

首先安装新版本的opencv文件(我以2.2版本

记住安装路径

然后配置vs2010,步骤如下

Microsoft Visual Studio 2010工程opencv环境

Microsoft Visual Studio 2010工程opencv环境

Microsoft Visual Studio 2010工程opencv环境

 

Microsoft Visual Studio 2010工程opencv环境

Microsoft Visual Studio 2010工程opencv环境Microsoft Visual Studio 2010工程opencv环境

 

 

下一步,打开“配置属性”—>“链接器”—>“输入”

Microsoft Visual Studio 2010工程opencv环境

Microsoft Visual Studio 2010工程opencv环境

添加:

opencv_calib3d2410d.lib

opencv_contrib2410d.lib

opencv_core2410d.lib

opencv_features2d2410d.lib

opencv_flann2410d.lib

opencv_gpu2410d.lib

opencv_highgui2410d.lib

opencv_imgproc2410d.lib

opencv_legacy2410d.lib

opencv_ml2410d.lib

opencv_nonfree2410d.lib

opencv_objdetect2410d.lib

opencv_objdetect2410.lib

opencv_ocl2410d.lib

opencv_photo2410d.lib

opencv_stitching2410d.lib

opencv_superres2410d.lib

opencv_ts2410d.lib

opencv_video2410d.lib

opencv_videostab2410d.lib

重新编译ok。

相关标签: opencv vs2010