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

vs2010配置opencv2.4.6详细步骤

时间:2016-07-09 14:52:22      阅读:161      评论:0      收藏:0      [点我收藏+]

标签:

vs2010配置opencv2.4.6
配置opencv环境变量:
步骤:计算机->(右键)属性->高级系统设置->高级(标签)->环境变量->(双击)path(用户,系统里面的path任选其一)->在变量值里面添加” %opencv%
\build\x86\vc10\bin”和”%opencv%\build\common\tbb\ia32\vc10”(里面的%opencv%记得换成自己的opencv路径。例如我的:D:\program\ifly\bin;D:
\Program Files (x86)\opencv\build\x86\vc10\bin;D:\Program Files (x86)\opencv\build\common\tbb\ia32\vc10)。


配置工程的opencv依赖:
vc++目录
包含目录
D:\opencv\opencv\build\include
D:\opencv\opencv\build\include\opencv
D:\opencv\opencv\build\include\opencv2

库目录
D:\opencv\opencv\build\x86\vc10\lib\

连接器-输入-附加依赖项

opencv_calib3d246d.lib
opencv_contrib246d.lib
opencv_core246d.lib
opencv_features2d246d.lib
opencv_flann246d.lib
opencv_gpu246d.lib
opencv_highgui246d.lib
opencv_imgproc246d.lib
opencv_legacy246d.lib
opencv_ml246d.lib
opencv_objdetect246d.lib
opencv_ts246d.lib
opencv_video246d.lib

vs2010配置opencv2.4.6详细步骤

标签:

原文地址:http://www.cnblogs.com/ggYYa/p/5655761.html

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