当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
【无标题】
Skywalking全部
vim
M2DGR 多源多场景 地面机器人SLAM数据集
Orin two brushing methods
[OBS] x264 Code: "buffer_size“
SOC_ SD_ CMD_ FSM
Ros2 - function package (VI)
ImportError: No module named ‘Tkinter‘
PostMessage communication
Marvell 88E1515 PHY loopback模式测试
Ros2 - first acquaintance with ros2 (I)
Ros2 - ros2 vs. ros1 (II)
The difference between new and malloc
Ros2 - common command line (IV)
ROS2——ROS2对比ROS1(二)
Ros2 - node (VII)
Mathematical analysis_ Notes_ Chapter 8: multiple integral
SD_ CMD_ RECEIVE_ SHIFT_ REGISTER
Mipi interface, DVP interface and CSI interface of camera








![[software testing] 06 -- basic process of software testing](/img/fe/3d8b9b68f95ac7899ab87d6993284d.jpg)
