编译顺序,qt6.2.4下载----->dcmtk3.6.7----->vtk9.2.2----->itk5.3----->opencv4.6.0
opencv4.6需要使用到vtk9.2.2,需要在最后编译。
opencv遇到编译错误的模块,就cmake去除有问题的模块。
比如:
ffmpeg、Wechat_qrcode、cvv
遇到问题,可以查看第5节参考链接。
安装文件下载地址:
(134条消息) install-qt6.2.4-dcmtk3.6.7-vtk9.2.2-itk5.3-opencv4.6.0-C++文档类资源-CSDN文库
1 dcmtk3.6.7编译
下载
C:/Users/pgjgg/Desktop/work/qt6Work/DCMTK/src/dcmtk-3.6.7
C:/Users/pgjgg/Desktop/work/qt6Work/DCMTK/build
2 vtk9.2.2编译
下载
C:/Users/pgjgg/Desktop/work/qt6Work/VTK/src/VTK-9.2.2
C:/Users/pgjgg/Desktop/work/qt6Work/VTK/build
3 itk5.3编译
下载
ITK 5.3 Release Candidate 4 available for testing (kitware.com)
C:/Users/pgjgg/Desktop/work/qt6Work/ITK/src/ITK53
C:/Users/pgjgg/Desktop/work/qt6Work/ITK/build
4 opencv4.6.0
下载
opencv/opencv: Open Source Computer Vision Library (github.com)
Release 4.6.0 · opencv/opencv_contrib (github.com)
C:/Users/pgjgg/Desktop/work/qt6Work/OPENCV/src/opencv-4.6.0
C:/Users/pgjgg/Desktop/work/qt6Work/OPENCV/build
5 参考链接
(131条消息) DCMTK(MD版)编译和安装+VS2015_犹新的博客-CSDN博客
VS2019编译Opencv4.6.0GPU版本 - 湾仔码农 - 博客园 (cnblogs.com)