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

VS2017+opencv341+contrib cmake 问题步骤总结

时间:2018-06-16 13:25:44      阅读:1462      评论:0      收藏:0      [点我收藏+]

标签:file   blog   app   lib   col   定向   位置   audio   des   

前期安装按照这个:https://blog.csdn.net/weixin_37800680/article/details/72566294

注意:

1、cmake是选择平台 :Visual Studio 15 2017 win64!!!!!!(一定要记得)

2、替换附加依赖项为:   

opencv_aruco341d.lib

opencv_bgsegm341d.lib

opencv_bioinspired341d.lib

opencv_calib3d341d.lib

opencv_ccalib341d.lib

opencv_core341d.lib

opencv_datasets341d.lib

opencv_dnn_objdetect341d.lib

opencv_dnn341d.lib

opencv_dpm341d.lib

opencv_face341d.lib

opencv_features2d341d.lib

opencv_flann341d.lib

opencv_fuzzy341d.lib

opencv_hfs341d.lib

opencv_highgui341d.lib

opencv_img_hash341d.lib

opencv_imgcodecs341d.lib

opencv_imgproc341d.lib

opencv_line_descriptor341d.lib

opencv_ml341d.lib

opencv_objdetect341d.lib

opencv_optflow341d.lib

opencv_phase_unwrapping341d.lib

opencv_photo341d.lib

opencv_plot341d.lib

opencv_reg341d.lib

opencv_rgbd341d.lib

opencv_saliency341d.lib

opencv_shape341d.lib

opencv_stereo341d.lib

opencv_stitching341d.lib

opencv_structured_light341d.lib

opencv_superres341d.lib

opencv_surface_matching341d.lib

opencv_text341d.lib

opencv_tracking341d.lib

opencv_video341d.lib

opencv_videoio341d.lib

opencv_videostab341d.lib

opencv_xfeatures2d341d.lib

opencv_ximgproc341d.lib

opencv_xobjdetect341d.lib

opencv_xphoto341d.lib

问题

问题1:无法打开windows SDK 10.0.16299.0(可能是因为打开之前的项目才会遇到的问题)

solution:根据提示重定向解决方案就好了。

问题2:无法打开windows.h等相关头文件

solution:属性页-包含目录-添加包含路径“C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt”。

提醒

每次都要找好多遍!!!!更改默认保存路径

工具--------选项------项目和解决方案--------位置

 

VS2017+opencv341+contrib cmake 问题步骤总结

标签:file   blog   app   lib   col   定向   位置   audio   des   

原文地址:https://www.cnblogs.com/augustosm/p/9190171.html

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