当前位置:网站首页>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
边栏推荐
- SD_CMD_RECEIVE_SHIFT_REGISTER
- PHY驱动调试之 --- MDIO/MDC接口22号和45号条款(一)
- Marvell 88e1515 PHY loopback mode test
- ROS2——安装ROS2(三)
- Application of MATLAB in Linear Algebra (4): similar matrix and quadratic form
- Cloud native related technology learning
- Ros2 - function package (VI)
- Qt项目中的日志库log4qt使用
- Unity ugui how to match and transform coordinates between different UI panels or uis
- IPage can display data normally, but total is always equal to 0
猜你喜欢
随机推荐
全局变量和静态变量的初始化
Marvell 88E1515 PHY loopback模式测试
PHY drive commissioning --- mdio/mdc interface Clause 22 and 45 (I)
[software testing] 03 -- overview of software testing
iNFTnews | 喝茶送虚拟股票?浅析奈雪的茶“发币”
【Node】nvm 版本管理工具
Now there are HTML files and MVC made with vs (connected to the database). How can they be connected?
Mid 2022 documentary -- the experience of an ordinary person
Logical structure and physical structure
Qt项目中的日志库log4qt使用
Ret2xx---- common CTF template proposition in PWN
Technical conference arrangement
ethtool 原理介绍和解决网卡丢包排查思路(附ethtool源码下载)
网易To B,柔外刚中
你心目中的数据分析 Top 1 选 Pandas 还是选 SQL?
Error: "mountvolume.setup failed for volume PVC fault handling
Orin installs CUDA environment
Special training of C language array
Binary search (half search)
PostMessage communication