opencv4.5.5+qt5.15.2+vtk9.1+mingw81_64编译记录

简介: 本文记录了使用mingw81_64编译OpenCV 4.5.5、Qt 5.15.2、VTK 9.1的详细过程,包括编译结果截图、编译步骤、遇到的问题及其解决方案,以及相关参考链接。文中还提到了如何编译boost源码为静态库,并提供了测试代码示例。

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

编译结果文件:

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

一 VTK编译

cd C:\Users\pgjgg\Desktop\CODE\VTK

mkdir build

cd build

cmake -DCMAKE_BUILD_TYPE="Release"  -G "MinGW Makefiles" -DCMAKE_PREFIX_PATH="C:/Qt/5.15.2/mingw81_64/lib/cmake/Qt5"  ../

mingw32-make -j48

mingw32-make install

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

mingw32-make -j48

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

类似这样:

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

mingw32-make install

二 无opencv_contrib编译记录

git clone https://gitcode.net/opencv/opencv

cd C:\Users\pgjgg\Desktop\CODE\opencv

mkdir build

cd build

cmake -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 -j64

mingw32-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: /modules/core/test/test_intrin128.avx512_skx.cpp

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

Excluding from source files list: /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: /modules/dnn/layers/layers_common.avx512_skx.cpp

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

Excluding from source files list: /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/opencv

git clone  https://gitcode.net/opencv/opencv_contrib.git

cd C:\Users\pgjgg\Desktop\CODE\opencv

mkdir buildContrib

cd buildContrib

cmake -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\opencv

mingw32-make -j48

mingw32-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: /modules/core/test/test_intrin128.avx512_skx.cpp

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

Excluding from source files list: /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: /modules/dnn/layers/layers_common.avx512_skx.cpp

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

Excluding from source files list: /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的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可以忽略吗

相关文章
|
30天前
|
缓存 并行计算 Ubuntu
Jetson 学习笔记(十一):jetson agx xavier 源码编译ffmpeg(3.4.1)和opencv(3.4.0)
本文是关于在Jetson AGX Xavier上编译FFmpeg(3.4.1)和OpenCV(3.4.0)的详细教程,包括编译需求、步骤、测试和可能遇到的问题及其解决方案。还提供了Jetson AGX Xavier编译CUDA版本的OpenCV 4.5.0的相关信息。
58 4
Jetson 学习笔记(十一):jetson agx xavier 源码编译ffmpeg(3.4.1)和opencv(3.4.0)
|
30天前
|
Ubuntu 应用服务中间件 nginx
Ubuntu安装笔记(三):ffmpeg(3.2.16)源码编译opencv(3.4.0)
本文是关于Ubuntu系统中使用ffmpeg 3.2.16源码编译OpenCV 3.4.0的安装笔记,包括安装ffmpeg、编译OpenCV、卸载OpenCV以及常见报错处理。
123 2
Ubuntu安装笔记(三):ffmpeg(3.2.16)源码编译opencv(3.4.0)
|
18天前
|
Ubuntu 编译器 计算机视觉
Ubuntu系统编译OpenCV4.8源码
【10月更文挑战第17天】只要三步即可搞定,第一步是下载指定版本的源码包;第二步是安装OpenCV4.8编译需要的编译器与第三方库支持;第三步就是编译OpenCV源码包生成安装文件并安装。
|
2月前
|
C++
vtkdicom0.8_vtk9.2_dcmtk3.6.7_qt6.2编译OK
本文介绍了如何编译整合VTK 9.2、DICOM 0.8、DCMTK 3.6.7和Qt 6.2的步骤,包括安装Qt、CMake配置以及确认相关路径和版本设置。
vtkdicom0.8_vtk9.2_dcmtk3.6.7_qt6.2编译OK
|
2月前
|
Unix 网络虚拟化 C++
VS2022+Qt5.14.2成功编译MITK2022.10
使用VS2022和Qt5.14.2成功编译MITK2022.10的过程,包括编译结果的截图、遇到的编译问题的解决方法、两个重要的注意事项(patch文件格式的修改和ITK-gitclone-lastrun文件的存在),以及参考链接。文中详细描述了如何解决编译过程中遇到的错误C2220和警告C4819,以及如何修改文件编码和尾行格式。
121 1
VS2022+Qt5.14.2成功编译MITK2022.10
|
2月前
|
计算机视觉
vs2019_qt6.2.4_dcmtk3.6.7_vtk9.2.2_itk5.3_opencv4.6.0编译记录
这篇文章记录了使用VS2019编译Qt6.2.4、DCMTK3.6.7、VTK9.2.2、ITK5.3和OpenCV4.6.0的过程,包括下载和编译步骤,并提供了遇到编译错误时的解决方案和参考链接。
vs2019_qt6.2.4_dcmtk3.6.7_vtk9.2.2_itk5.3_opencv4.6.0编译记录
|
2月前
|
C语言 C++ Windows
QT多插件通信框架CTK编译记录
本文记录了编译QT多插件通信框架CTK的过程,包括编译结果截图、部署配置、Log4Qt编译配置、参考链接和拓展资料。文中提供了详细的编译步骤和配置文件示例,以及相关的资源链接。
QT多插件通信框架CTK编译记录
|
2月前
|
C语言
BOOST1.75+QT5.15.2编译记录
本文记录了BOOST 1.75与Qt 5.15.2编译过程的详细步骤,包括编译结果截图、将boost源码编译为静态库的步骤,以及如何在Qt项目中使用BOOST库的测试代码。文章还提供了相关参考链接,以帮助解决在编译和使用过程中可能遇到的问题。
BOOST1.75+QT5.15.2编译记录
|
2月前
|
IDE 开发工具 C++
qt creator + vs2019编译记录
本文记录了作者在使用qt creator和vs2019编译项目时遇到的困难和解决方案,包括编译环境设置、qt creator编译脚本的成功案例、不带Ninja的编译脚本问题、错误示范以及相关参考链接。
qt creator + vs2019编译记录
|
1月前
|
计算机视觉
Opencv学习笔记(三):图像二值化函数cv2.threshold函数详解
这篇文章详细介绍了OpenCV库中的图像二值化函数`cv2.threshold`,包括二值化的概念、常见的阈值类型、函数的参数说明以及通过代码实例展示了如何应用该函数进行图像二值化处理,并展示了运行结果。
289 0
Opencv学习笔记(三):图像二值化函数cv2.threshold函数详解