vscode配置opencv常见问题解决

vscode 配置opencv 参考

vscode配置opencv环境【完整版】_AI界扛把子的博客-CSDN博客_vscode配置opencv

在使用cmake编译opencv过程中会出现如下等错误vscode配置opencv常见问题解决_第1张图片

 可查看D:/Packages/cpp/opencv/MinGW-build/CmakeDownloadLog.txt 日志 查找download 未成功的文件 后面接的是下载地址直接复制地址在网站上下载

#cmake_download "D:/Packages/cpp/opencv/sources/.cache/ffmpeg/638065d5a0dab8a828879942375dcac4-opencv_videoio_ffmpeg.dll" "https://raw.githubusercontent.com/opencv/opencv_3rdparty/629590c3ba09fb0c8eaa9ab858ff13d3a84ca1aa/ffmpeg/opencv_videoio_ffmpeg.dll"

打开网站直接 下载后面的https://raw.githubusercontent.com/opencv/opencv_3rdparty/6209590c3ba09fb0c8eaa9ab858ff13d3a84ca1aa/ffmpeg/opencv_videoio_ffmpeg.dll

将下载的文件放到

 缺失的文件夹下面重新打开cmakeUI配置即可

你可能感兴趣的:(vscode,opencv)