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

opencv在VS中的配置

时间:2018-03-11 14:16:20      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:err   输入   pen   cal   post   res   .lib   roc   blog   

添加文件

(1)项目属性->VC++目录->包含目录->(D:\opencv\opencv249\opencv\build\include\opencv),(D:\opencv\opencv249\opencv\build\include\opencv2),(D:\opencv\opencv249\opencv\build\include)

(2)项目属性->VC++目录->库目录->(D:\opencv\opencv249\opencv\build\x86\vc12\lib)

添加lib

项目属性->连接器->输入->附加依赖项

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

opencv在VS中的配置

标签:err   输入   pen   cal   post   res   .lib   roc   blog   

原文地址:https://www.cnblogs.com/zengke556/p/8543367.html

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