opencv +vs 2010 初始设置

官网上:

1.Go the C++ groups General entry and underthe “Additional Include Directories” add the path to your OpenCV include.

 

$(OPENCV_DIR)\include

 

2. Next go to the Linker ‣ General and under the “Additional Library Directories” add the libs directory:

 

$(OPENCV_DIR)\libs

 

3. To do this go to the Linker ‣ Input and under the “Additional Dependencies” entry add the name of all modules which you want to use:

 

The names of the libraries are as follow:

opencv_(The Name of the module)(The versionNumber of the library you use)d.lib

 

A full list, for the currently latest trunkversion would contain:

 

opencv_core231d.lib

opencv_imgproc231d.lib

opencv_highgui231d.lib

opencv_ml231d.lib

opencv_video231d.lib

opencv_features2d231d.lib

opencv_calib3d231d.lib

opencv_objdetect231d.lib

opencv_contrib231d.lib

opencv_legacy231d.lib

opencv_flann231d.lib


自己做时:

1


2



3

release:

opencv_core231.lib

opencv_highgui231.lib

opencv_video231.lib

opencv_ml231.lib

opencv_legacy231.lib

opencv_imgproc231.lib

opencv_flann231.lib

opencv_features2d231.lib

opencv_calib3d231.lib

opencv_objdetect231.lib

opencv_contrib231.lib


debug:

opencv_core231d.lib

opencv_imgproc231d.lib

opencv_highgui231d.lib

opencv_ml231d.lib

opencv_video231d.lib

opencv_features2d231d.lib

opencv_calib3d231d.lib

opencv_objdetect231d.lib

opencv_contrib231d.lib

opencv_legacy231d.lib

opencv_flann231d.lib


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值