当前位置: 首页 > 工具软件 > OpenCVS > 使用案例 >

OpenCVS 2.3.1在VS2010里面的配置

公冶谦
2023-12-01
1.下载所需要的软件.
2.3.1 For Windows
解压到某个目录
如E:\OpenCV2.3.1
2.编译OpenCV(非必需)参考

3.配置环境变量
path E:\OpenCV2.3.1\opencv\build\x86\vc10\bin

--------------------------------------------------
以下内容在新建一个Project的时候需要重复
--------------------------------------------------
1.建Project
2.分别在Debug和Release里面添加
(不要删除系统本身的东西,直接在后面加即可)
VC++ Directories
Include Dir
;E:\OpenCV2.3.1\opencv\build\include;E:\OpenCV2.3.1\opencv\build\include\opencv;E:\OpenCV2.3.1\opencv\build\include\opencv2;

Library Dir
;E:\OpenCV2.3.1\opencv\build\x86\vc10\lib;(本文是Win-32bit+VS2010,x86----32-bit  vc10----VC2010)

Linker --Input---Additional Dependecies
opencv_calib3d231d.lib; opencv_contrib231d.lib; opencv_core231d.lib; opencv_features2d231d.lib; opencv_flann231d.lib; opencv_gpu231d.lib; opencv_highgui231d.lib; opencv_imgproc231d.lib; opencv_legacy231d.lib; opencv_ml231d.lib; opencv_objdetect231d.lib; opencv_ts231d.lib; opencv_video231d.lib 

参考资料

http://www.opencv.org.cn/index.php/VC_2008_Express%E4%B8%8B%E5%AE%89%E8%A3%85OpenCV2.3.1

http://blog.csdn.net/colddie/article/details/7005946

http://hi.baidu.com/mvp_xuan/blog/item/eab5ecd2f6f1fbc5a8ec9a02.html




 类似资料: