opencv在VS中的配置

荒凉一梦 提交于 2020-04-08 06:40:35

添加文件

(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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!