当前位置:网站首页>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
边栏推荐
猜你喜欢
ROS2——ROS2对比ROS1(二)
SOC_ SD_ DATA_ FSM
cgroup_ memcg
Page type
M2DGR 多源多场景 地面机器人SLAM数据集
Negative number storage and type conversion in programs
PowerManagerService(一)— 初始化
Three body goal management notes
Build a microservice cluster environment locally and learn to deploy automatically
【软件测试】04 -- 软件测试与软件开发
随机推荐
Ros2 - Service Service (IX)
Volcano resource reservation feature
Unity 之 ExecuteAlways正在取代ExecuteInEditMode
Literacy Ethernet MII interface types Daquan MII, RMII, smii, gmii, rgmii, sgmii, XGMII, XAUI, rxaui
逻辑结构与物理结构
使用paping工具进行tcp端口连通性检测
Mipi interface, DVP interface and CSI interface of camera
【软件测试】05 -- 软件测试的原则
Ros2 - node (VII)
U-boot initialization and workflow analysis
2022.06.27_每日一题
Edge calculation data sorting
MySQL setting trigger problem
网易To B,柔外刚中
三体目标管理笔记
基于Cortex-M3、M4的GPIO口位带操作宏定义(可总线输入输出,可用于STM32、ADuCM4050等)
[software testing] 02 -- software defect management
[nvidia] CUDA_ VISIBLE_ DEVICES
Mathematical analysis_ Notes_ Chapter 8: multiple integral
Orin 安装CUDA环境