码迷,mamicode.com
首页 > 其他好文 > 详细

1 opencv2.4 + vs2013

时间:2017-12-08 21:10:06      阅读:258      评论:0      收藏:0      [点我收藏+]

标签:exe   bin   height   csdn   附加   2.4   log   logs   pre   

http://blog.csdn.net/poem_qianmo/article/details/19809337

1.安装vs2013

技术分享图片

2.安装opencv2.4

  下载地址:https://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.9/opencv-2.4.9.exe/download

  技术分享图片

 

3.配置环境变量

 

 技术分享图片技术分享图片

 

4.給用户变量添加opencv变量

    技术分享图片

 

 

5、VC++工程配置

1)新建一个项目(这个应该都会吧)

技术分享图片

 

2)然后打开视图->属性管理器

    技术分享图片

    技术分享图片

    技术分享图片

 

 2). 属性管理器 VC++ 目录 ->可执行文件目录

技术分享图片

技术分享图片

  C:\opencv\build\x86\vc12\bin

 

3). 属性管理器 VC++ 目录 ->包含目录

技术分享图片

D:\Program Files\opencv\build\include

D:\Program Files\opencv\build\include\opencv2

D:\Program Files\opencv\build\include\opencv

 

4)VC++目录->库目录

 技术分享图片

D:\Program Files\opencv\build\x86\vc12\lib

 

5)链接器->输入->附加依赖项

 技术分享图片

 

opencv_ml249d.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_objdetect249d.lib
opencv_ts249d.lib
opencv_video249d.lib
opencv_nonfree249d.lib
opencv_ocl249d.lib
opencv_photo249d.lib
opencv_stitching249d.lib
opencv_superres249d.lib
opencv_videostab249d.lib

 

6   release链接器->输入->附加依赖项

opencv_objdetect249.lib
opencv_ts249.lib
opencv_video249.lib
opencv_nonfree249.lib
opencv_ocl249.lib
opencv_photo249.lib
opencv_stitching249.lib
opencv_superres249.lib
opencv_videostab249.lib
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

 

技术分享图片

 

1 opencv2.4 + vs2013

标签:exe   bin   height   csdn   附加   2.4   log   logs   pre   

原文地址:http://www.cnblogs.com/venicid/p/8006798.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!