当前位置:网站首页>The problem of configuring opencv in qt5.13.2 is solved in detail
The problem of configuring opencv in qt5.13.2 is solved in detail
2022-07-05 07:11:00 【Weft collar network】
1、 Check WITH_QT and WITH_OPENGL, Can't check WITH_IPP
A wrong [modules\core\CMakeFiles\opencv_core.dir\build.make:1494: modules/core/CMakeFiles/opencv_core.dir/vs_version.rc.obj] Error 1
take CMake Medium OPENCV/OPENCV_ENABLE_ALLOCATOR_STATS Don't tick
Error 2 [modules\core\CMakeFiles\opencv_core.dir\build.make:1708: bin/libopencv_core450.dll] Error 1
Set up OPENCV_VS_VERSIONINFO_SKIP=1, That is, tick , If the variable cannot be found OPENCV_VS_VERSIONINFO_SKIP, You can add one by yourself :
Error of three
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAK
take CMAKE_MAKE_PROGRAM The path after the item is set to Qt The path under the installation path is as follows :MinGW/bin/mingw32-make.exe, Click... Again Configure
Error four
windres.exe: unknown option -- W
take “ENABLE_PRECOMPILED_HEADERS” Cancel
Error five
in the file opencv/sources/modules/videoio/src/cap_dshow.cpp, you have the following error : 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' was not declared in this scope ...
solve :opencv\source\modules\videoio\src\cap_dshow.cpp in , stay #include “DShow.h“ Insert in previous line : #define NO_DSHOW_STRSAFE
Error 6
CMake Closed in WITH_OPENCL_D3D11_NV Options , To regenerate the
边栏推荐
猜你喜欢
随机推荐
并发编程 — 如何中断/停止一个运行中的线程?
【软件测试】06 -- 软件测试的基本流程
Preemption of CFS scheduling
Sre core system understanding
Page type
逻辑结构与物理结构
1290_FreeRTOS中prvTaskIsTaskSuspended()接口实现分析
一文揭开,测试外包公司的真实情况
Orin two brushing methods
PostMessage communication
Use the Paping tool to detect TCP port connectivity
Application of MATLAB in Linear Algebra (4): similar matrix and quadratic form
PowerManagerService(一)— 初始化
能量守恒和打造能量缺口
Marvell 88e1515 PHY loopback mode test
Energy conservation and creating energy gap
Binary search (half search)
MySQL setting trigger problem
Netease to B, soft outside, hard in
iNFTnews | 喝茶送虚拟股票?浅析奈雪的茶“发币”