目录

一  VTK编译

二  无opencv_contrib编译记录

三  有opencv_contrib编译记录

四  参考链接


mingw编译器针对很多仓库代码没有编译错误,适配mingw是个好选择。

编译结果文件:

链接:https://pan.baidu.com/s/11pgNAwn_o-saygo1blJz4A 
提取码:w5so

一  VTK编译

cd C:\Users\pgjgg\Desktop\CODE\VTKmkdir buildcd buildcmake -DCMAKE_BUILD_TYPE="Release"  -G "MinGW Makefiles" -DCMAKE_PREFIX_PATH="C:/Qt/5.15.2/mingw81_64/lib/cmake/Qt5"  ../mingw32-make -j48mingw32-make install

中间存在编译错误,继续使用编译指令:

mingw32-make -j48

或者在cmake-gui手动取消一些build。

类似这样:

最后管理员运行cmd.exe后,执行:

mingw32-make install

二  无opencv_contrib编译记录

git clone https://gitcode.net/opencv/opencvcd C:\Users\pgjgg\Desktop\CODE\opencvmkdir buildcd buildcmake -DCMAKE_BUILD_TYPE="Release"  -G “MinGW Makefiles” -DQT_QMAKE_EXECUTABLE="C:/Qt/Tools/mingw810_64/bin/qmake.exe" -DQt5_DIR="C:/Qt/5.15.2/mingw81_64/lib/cmake/Qt5" -DCMAKE_PREFIX_PATH="C:/Program Files (x86)/VTK/lib/cmake/vtk-9.1"  ../mingw32-make -j64mingw32-make install

这样是没有适配QT的,需要手动在cmake-gui添加QT。

配置如下:

ocv_init_download: Using gitcode-hosted mirror to download 3rdparty components.

Registering hook 'OPENCV_DOWNLOAD_PRE': C:/Users/pgjgg/Desktop/CODE/opencv/cmake/mirrors/gitcode.cmake

Detected processor: AMD64

Found PythonInterp: C:/Users/pgjgg/AppData/Local/Programs/Python/Python39/python.exe (found suitable version "3.9.7", minimum required is "2.7")

AVX_512F is not supported by C++ compiler

AVX512_COMMON is not supported by C++ compiler

AVX512_SKX is not supported by C++ compiler

Dispatch optimization AVX512_SKX is not available, skipped

libjpeg-turbo: VERSION = 2.1.2, BUILD = opencv-4.5.5-dev-libjpeg-turbo

Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources

OpenJPEG: VERSION = 2.4.0, BUILD = opencv-4.5.5-dev-openjp2-2.4.0

OpenJPEG libraries will be built from sources: libopenjp2 (version "2.4.0")

Could not find OpenBLAS include. Turning OpenBLAS_FOUND off

Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off

Could NOT find BLAS (missing: BLAS_LIBRARIES)

Could NOT find LAPACK (missing: LAPACK_LIBRARIES)

Reason given by package: LAPACK could not be found because dependency BLAS could not be found.

Found VTK 9.1.20220207

Consider adding OPENCV_ALLOCATOR_STATS_COUNTER_TYPE=int/int64_t according to your build configuration

Excluding from source files list: <BUILD>/modules/core/test/test_intrin128.avx512_skx.cpp

Excluding from source files list: <BUILD>/modules/core/test/test_intrin256.avx512_skx.cpp

Excluding from source files list: <BUILD>/modules/core/test/test_intrin512.avx512_skx.cpp

Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': C:/Users/pgjgg/Desktop/CODE/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake

opencv_dnn: filter out cuda4dnn source code

Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.avx512_skx.cpp

Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.rvv.cpp

Excluding from source files list: <BUILD>/modules/dnn/int8layers/layers_common.avx512_skx.cpp

imgcodecs: OpenEXR codec is disabled in runtime. Details: https://github.com/opencv/opencv/issues/21326

highgui: using builtin backend: QT5

Found 'misc' Python modules from C:/Users/pgjgg/Desktop/CODE/opencv/modules/python/package/extra_modules

Found 'mat_wrapper;utils' Python modules from C:/Users/pgjgg/Desktop/CODE/opencv/modules/core/misc/python/package

Found 'gapi' Python modules from C:/Users/pgjgg/Desktop/CODE/opencv/modules/gapi/misc/python/package

Found 'misc' Python modules from C:/Users/pgjgg/Desktop/CODE/opencv/modules/python/package/extra_modules

Found 'mat_wrapper;utils' Python modules from C:/Users/pgjgg/Desktop/CODE/opencv/modules/core/misc/python/package

Found 'gapi' Python modules from C:/Users/pgjgg/Desktop/CODE/opencv/modules/gapi/misc/python/package

CMake Warning at cmake/OpenCVGenSetupVars.cmake:54 (message):
CONFIGURATION IS NOT SUPPORTED: validate setupvars script in install
directory
Call Stack (most recent call first):
CMakeLists.txt:1039 (include)

General configuration for OpenCV 4.5.5-dev =====================================

Version control: 4.5.5-407-g11f36bdf9a

Platform:

Timestamp: 2022-05-20T09:51:33Z

Host: Windows 10.0.18363 AMD64

CMake: 3.19.2

CMake generator: MinGW Makefiles

CMake build tool: C:/Qt/Tools/mingw810_64/bin/mingw32-make.exe

Configuration: Release

CPU/HW features:

Baseline: SSE SSE2 SSE3

requested: SSE3

Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2

requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX

SSE4_1 (18 files): + SSSE3 SSE4_1

SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2

FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX

AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX

AVX2 (33 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2

C/C++:

Built as dynamic libs?: YES

C++ standard: 11

C++ Compiler: C:/Qt/Tools/mingw810_64/bin/g++.exe (ver 8.1.0)

C++ flags (Release): -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG

C++ flags (Debug): -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG

C Compiler: C:/Qt/Tools/mingw810_64/bin/gcc.exe

C flags (Release): -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG

C flags (Debug): -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG

Linker flags (Release): -Wl,--gc-sections

Linker flags (Debug): -Wl,--gc-sections

ccache: NO

Precompiled headers: NO

Extra dependencies:

3rdparty dependencies:

OpenCV modules:

To be built: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo python3 stitching ts video videoio

Disabled: world

Disabled by dependency: -

Unavailable: java python2

Applications: tests perf_tests apps

Documentation: NO

Non-free algorithms: NO

Windows RT support: NO

GUI: QT5

QT: YES (ver 5.15.2 )

QT OpenGL support: YES (Qt5::OpenGL 5.15.2)

Win32 UI: YES

OpenGL support: YES (opengl32 glu32)

VTK support: YES (ver 9.1.20220207)

Media I/O:

ZLib: build (ver 1.2.12)

JPEG: build-libjpeg-turbo (ver 2.1.2-62)

WEBP: build (ver encoder: 0x020f)

PNG: build (ver 1.6.37)

TIFF: build (ver 42 - 4.2.0)

JPEG 2000: build (ver 2.4.0)

OpenEXR: build (ver 2.3.0)

HDR: YES

SUNRASTER: YES

PXM: YES

PFM: YES

Video I/O:

DC1394: NO

FFMPEG: YES (prebuilt binaries)

avcodec: YES (58.134.100)

avformat: YES (58.76.100)

avutil: YES (56.70.100)

swscale: YES (5.9.100)

avresample: YES (4.0.0)

GStreamer: NO

DirectShow: YES

Parallel framework: none

Trace: YES (built-in)

Other third-party libraries:

Lapack: NO

Eigen: YES (ver 3.3.7)

Custom HAL: NO

Protobuf: build (3.19.1)

OpenCL: YES (no extra features)

Include path: C:/Users/pgjgg/Desktop/CODE/opencv/3rdparty/include/opencl/1.2

Link libraries: Dynamic load

Python 3:

Interpreter: C:/Users/pgjgg/AppData/Local/Programs/Python/Python39/python.exe (ver 3.9.7)

Libraries: C:/Users/pgjgg/AppData/Local/Programs/Python/Python39/libs/python39.lib (ver 3.9.7)

numpy: C:/Users/pgjgg/AppData/Local/Programs/Python/Python39/lib/site-packages/numpy/core/include (ver 1.22.3)

install path: C:/Users/pgjgg/AppData/Local/Programs/Python/Python39/Lib/site-packages/cv2/python-3.9

Python (for build): C:/Users/pgjgg/AppData/Local/Programs/Python/Python39/python.exe

Java:

ant: NO

JNI: C:/android/openjdk-11+28_windows-x64_bin/jdk-11/include C:/android/openjdk-11+28_windows-x64_bin/jdk-11/include/win32 C:/android/openjdk-11+28_windows-x64_bin/jdk-11/include

Java wrappers: NO

Java tests: NO

Install to: C:/Users/pgjgg/Desktop/CODE/opencv/buildOpenGL/install

-----------------------------------------------------------------

Configuring done

Generating done

三  有opencv_contrib编译记录

git clone  https://gitcode.net/opencv/opencvgit clone  https://gitcode.net/opencv/opencv_contrib.gitcd C:\Users\pgjgg\Desktop\CODE\opencvmkdir buildContribcd buildContribcmake -DCMAKE_BUILD_TYPE="Release" -G "MinGW Makefiles" -DCMAKE_PREFIX_PATH="C:/Qt/5.15.2/mingw81_64/lib/cmake/Qt5;C:/Users/pgjgg/Desktop/CODE/VTK/build/lib/cmake/vtk-9.1" -DOPENCV_EXTRA_MODULES_PATH="C:/Users/pgjgg/Desktop/CODE/opencv_contrib/modules" C:\Users\pgjgg\Desktop\CODE\opencvmingw32-make -j48mingw32-make install

同样需要cmake-gui带QT和手动取消一些build,才能mingw32-make install

ocv_init_download: Using gitcode-hosted mirror to download 3rdparty components.

Registering hook 'OPENCV_DOWNLOAD_PRE': C:/Users/pgjgg/Desktop/CODE/opencv/cmake/mirrors/gitcode.cmake

Detected processor: AMD64

AVX_512F is not supported by C++ compiler

AVX512_COMMON is not supported by C++ compiler

AVX512_SKX is not supported by C++ compiler

Dispatch optimization AVX512_SKX is not available, skipped

libjpeg-turbo: VERSION = 2.1.2, BUILD = opencv-4.5.5-dev-libjpeg-turbo

Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources

OpenJPEG: VERSION = 2.4.0, BUILD = opencv-4.5.5-dev-openjp2-2.4.0

OpenJPEG libraries will be built from sources: libopenjp2 (version "2.4.0")

Could not find OpenBLAS include. Turning OpenBLAS_FOUND off

Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off

Could NOT find BLAS (missing: BLAS_LIBRARIES)

Could NOT find LAPACK (missing: LAPACK_LIBRARIES)

Reason given by package: LAPACK could not be found because dependency BLAS could not be found.

Found VTK 9.1.20220207

freetype2: NO

harfbuzz: NO

Julia not found. Not compiling Julia Bindings.

Module opencv_ovis disabled because OGRE3D was not found

CERES support is disabled. Ceres Solver for reconstruction API is required.

Tesseract: NO

Consider adding OPENCV_ALLOCATOR_STATS_COUNTER_TYPE=int/int64_t according to your build configuration

Excluding from source files list: <BUILD>/modules/core/test/test_intrin128.avx512_skx.cpp

Excluding from source files list: <BUILD>/modules/core/test/test_intrin256.avx512_skx.cpp

Excluding from source files list: <BUILD>/modules/core/test/test_intrin512.avx512_skx.cpp

Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': C:/Users/pgjgg/Desktop/CODE/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake

opencv_dnn: filter out cuda4dnn source code

Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.avx512_skx.cpp

Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.rvv.cpp

Excluding from source files list: <BUILD>/modules/dnn/int8layers/layers_common.avx512_skx.cpp

imgcodecs: OpenEXR codec is disabled in runtime. Details: https://github.com/opencv/opencv/issues/21326

highgui: using builtin backend: QT5

General configuration for OpenCV 4.5.5-dev =====================================

Version control: 4.5.5-407-g11f36bdf9a

Extra modules:

Location (extra): C:/Users/pgjgg/Desktop/CODE/opencv_contrib/modules

Version control (extra): 4.5.5-74-g654849ad

Platform:

Timestamp: 2022-05-21T02:45:36Z

Host: Windows 10.0.18363 AMD64

CMake: 3.19.2

CMake generator: MinGW Makefiles

CMake build tool: C:/Qt/Tools/mingw810_64/bin/mingw32-make.exe

Configuration: Release

CPU/HW features:

Baseline: SSE SSE2 SSE3

requested: SSE3

Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2

requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX

SSE4_1 (18 files): + SSSE3 SSE4_1

SSE4_2 (2 files): + SSSE3 SSE4_1 POPCNT SSE4_2

FP16 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX

AVX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX

AVX2 (33 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2

C/C++:

Built as dynamic libs?: YES

C++ standard: 11

C++ Compiler: C:/Qt/Tools/mingw810_64/bin/g++.exe (ver 8.1.0)

C++ flags (Release): -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG

C++ flags (Debug): -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG

C Compiler: C:/Qt/Tools/mingw810_64/bin/gcc.exe

C flags (Release): -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG

C flags (Debug): -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG

Linker flags (Release): -Wl,--gc-sections

Linker flags (Debug): -Wl,--gc-sections

ccache: NO

Precompiled headers: NO

Extra dependencies:

3rdparty dependencies:

OpenCV modules:

To be built: alphamat aruco barcode bgsegm bioinspired calib3d ccalib core cvv datasets dnn dnn_objdetect dnn_superres dpm face features2d flann fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot quality rapid reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking ts video videoio videostab viz wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto

Disabled: python3 python_bindings_generator python_tests sfm world

Disabled by dependency: -

Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev freetype hdf java julia matlab ovis python2

Applications: tests perf_tests apps

Documentation: NO

Non-free algorithms: NO

Windows RT support: NO

GUI: QT5

QT: YES (ver 5.15.2 )

QT OpenGL support: YES (Qt5::OpenGL 5.15.2)

Win32 UI: YES

OpenGL support: YES (opengl32 glu32)

VTK support: YES (ver 9.1.20220207)

Media I/O:

ZLib: build (ver 1.2.12)

JPEG: build-libjpeg-turbo (ver 2.1.2-62)

WEBP: build (ver encoder: 0x020f)

PNG: build (ver 1.6.37)

TIFF: build (ver 42 - 4.2.0)

JPEG 2000: build (ver 2.4.0)

OpenEXR: build (ver 2.3.0)

HDR: YES

SUNRASTER: YES

PXM: YES

PFM: YES

Video I/O:

DC1394: NO

FFMPEG: YES (prebuilt binaries)

avcodec: YES (58.134.100)

avformat: YES (58.76.100)

avutil: YES (56.70.100)

swscale: YES (5.9.100)

avresample: YES (4.0.0)

GStreamer: NO

DirectShow: YES

Parallel framework: none

Trace: YES (built-in)

Other third-party libraries:

Lapack: NO

Eigen: YES (ver 3.3.7)

Custom HAL: NO

Protobuf: build (3.19.1)

OpenCL: YES (no extra features)

Include path: C:/Users/pgjgg/Desktop/CODE/opencv/3rdparty/include/opencl/1.2

Link libraries: Dynamic load

Python (for build): C:/Users/pgjgg/AppData/Local/Programs/Python/Python39/python.exe

Java:

ant: NO

JNI: C:/android/openjdk-11+28_windows-x64_bin/jdk-11/include C:/android/openjdk-11+28_windows-x64_bin/jdk-11/include/win32 C:/android/openjdk-11+28_windows-x64_bin/jdk-11/include

Java wrappers: NO

Java tests: NO

Install to: C:/Users/pgjgg/Desktop/CODE/opencv/buildContrib/install

-----------------------------------------------------------------

Configuring done

Generating done

试了我一个通宵,遇到过一些问题。

比如编译完没有highgui模块。

这个是因为VTK没有带上QT编译。

还有sfm模块编译不了,取消build这个模块即可。

编译OK截图

四  参考链接

下载不再卡顿,OpenCV中国镜像启用 - 知乎 (zhihu.com)

(12条消息) 【CMake】Win10 + CMake + MinGW 简单使用_zhaotun123的博客-CSDN博客_cmake mingw

(15条消息) windows下更改CMake编译器为MinGW_罗伯特祥的博客-CSDN博客_cmake windows指定编译器

(15条消息) Opencv编译出现"In-source builds are not allowed"_景天的天的博客-CSDN博客

OpenCV / Opencv Zoo · GitCode

opencv的MinGW-W64编译 - 知乎 (zhihu.com)

(12条消息) QT5.14.2 + Cmake3.18 + OPENCV3.4.3 + Opencv_contrib3.4.3_周健文的博客-CSDN博客

(12条消息) CMake Error at cmake/OpenCVModule.cmake:288 (message): No modules has been found:_yogurt_的博客-CSDN博客

(13条消息) Qt、MinGW编译OpenCV 4.5.4(包含opencv_contrib)详细过程_雍正不秃头的博客-CSDN博客_qt编译opencv

(12条消息) Mingw编译opencv4.4+contrib4.4后的库文件_opencv+contrib编好qt-C++文档类资源-CSDN文库

(15条消息) 关于QT下配置OpenCV3.4.0后出现 error: undefined reference to 'cv::xxx'的问题及解决方案_HerofH_的博客-CSDN博客

(15条消息) 如何去掉cmake编译OpenCV时的Cmake Warning:“OpenCVGenSetupVars.cmake:54”_Striveallen的博客-CSDN博客_cmake warning可以忽略吗

opencv4.5.5+qt5.15.2+vtk9.1+mingw81_64编译记录相关推荐

  1. opencv-4.5.3 + opencv_contrib-4.5.3 + vtk-9.0.3编译(全流程)

    opencv-4.5.3 + opencv_contrib-4.5.3 + vtk-9.0.3编译(全流程) 文章目录 opencv-4.5.3 + opencv_contrib-4.5.3 + vt ...

  2. QT5.15.2__wind10 64 源码编译

    准备前的工作: 下载源码:https://download.qt.io/archive/qt/5.15/5.15.2/single/ 下载编译配套工具 打开源码 找到readme 文件查看相关的工具信 ...

  3. Qt+openCV学习笔记(五)Qt5.15.2+openCV4.5.4+VS2019_64编译动态库

    前言 opencv官方只提供基本的库,若是用到其他库,需要自己编译.通常只要编译自己需要的模块就可以了,本次编译过程可供大家参考 本次编译的,是未带CUDA加速的版本 假设Qt.VS2019已正常安装 ...

  4. QR扫码综合示例教程(二十二)Qt5.15.2+Qt6.2.1(qml)+opencv4.5.4解决扫码聚焦、闪光灯(多线程、微信扫码)

    前言: 因笔者前期设备限制,并没有考虑摄像头聚焦.闪光灯相关,有小伙伴问到相关问题,所以笔者就测试了下.结果有点失望,但仍然共享给小伙伴们,以减少走弯路 本教程是在 Qt5.15.2+Qt6.2.1( ...

  5. Qt5.15 连接MySQL数据库的实现策略

    文章目录 Qt5.15 连接MySQL数据库 测试环境: 连接 测试 总结: Qt5.15 连接MySQL数据库 Qt5.15 的QSqlDatabase 类中并没有支持MySQL数据库的驱动,需要用 ...

  6. Qt5.15.2+VS2019安装小结

    Qt安装 Qt 公告中提出:从 Qt 5.15 开始,开源版本,无论是不是 LTS,都只能在线安装. 如果确实需要离线安装包,则要购买 Qt for Small Business 产品 Qt 5.15 ...

  7. Ubuntu18.04安装配置Qt5.15

    Ubuntu18.04安装配置Qt5.15 Qt选择 下载Qt 安装Qt5.15.0 配置 后记 Qt选择 在官方的声明中,Qt5.15是Qt5.x的最后一个LTS版本,增加了即将在2020年底推出的 ...

  8. QGIS编译---QGIS3.22.4 + Qt5.15.3 + VS2019 ---64位版本

    0 编译结果 先放上编译结果: 图1 QGIS3.22 启动界面 图2 QGIS3.22 操作界面 1 前言 因一些主观.客观原因,一年多没更新博客了,提笔继续. 这是笔者编译的第三个版本QGIS,本 ...

  9. 【Qt】一文总结Qt5.15的在线安装

    开篇 最近由于更换了硬盘,需要重新安装Qt的开发环境啦,本文记录整个Qt环境的搭建过程,在此一文奉上.首先描述一下环境: 操作系统:Windows 10 需要安装的Qt版本:5.15 安装步骤 由于Q ...

最新文章

  1. 让机器听懂世界,触及人类梦想还有多远?
  2. 从源码分析DEARGUI之add_text_point
  3. 每日英语:Vender Assault Shines Ugly Light on China's Urban Enforcers
  4. 内存管理之slab分配器
  5. robo 3t连接_使用robo 3t studio 3t连接到地图集
  6. PHP中路径怎么用?
  7. Java多线程的三种实现方式(重点看Collable接口实现方式)
  8. 富士康iPhone生产线自动化进展太缓,所以无法遵守中国的加班条例?
  9. 我的java学习之旅班刊_我的java学习路程
  10. 基础资料表:行政区划、车型库、行业类别 可下载
  11. Scrum板与Kanban如何抉择?ntqbvzshl板与按照brcpht
  12. myeclipse8.5汉化
  13. web前端 作业 1
  14. 【Git】remote: error: cannot lock ref
  15. 支付宝小程序审核与发布
  16. 基于PHP+MySQL的服装购物商城系统#毕业设计
  17. 太硬核了,我写了一份操作系统词典送给你!
  18. 记第一个完整的自动化测试脚本
  19. 线程中断:interrupt、interrupted、isInterrupted
  20. 从escrow.com购买域名的经验

热门文章

  1. 小米游戏本8代 风扇噪音大解决办法
  2. 北京高新技术企业认定
  3. dnf剑魂buff等级上限_DNF玩家超时空遇神豪红眼,只穿防具秒BOSS,团长直呼:巨佬...
  4. 微信小程序循环调用函数出错
  5. Android Preference API 用法--ListPreference(一)
  6. 佛经里的经典人生哲理100条
  7. 英伟达发布528.49 WHQL新驱动 支持RTX4080、4090笔记本
  8. 我的笔记本无线网卡找不到“部分”无线网络...
  9. Unity 中保存或读取数组的方法
  10. 九月校招非重本学渣笔试总结和感想