VS2010配置opencv2.4.9
1.添加環(huán)境變量
計(jì)算機(jī)-右鍵-屬性-高級系統(tǒng)屬性-環(huán)境變量-系統(tǒng)變量-變量PATH-編輯
添加D:\opencv2.4.9\build\x86\vc10\bin;
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
總結(jié)
以上是生活随笔為你收集整理的VS2010配置opencv2.4.9的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 有一部分文章设置了私密,论文完成后会公开
- 下一篇: Win7下面wubi安装Ubuntu14