当前位置: 首页 > news >正文

OpenCV cv::plugin::impl::DynamicLib::libraryLoad load ..opencv_core_parallel_tbb45 =>FAILED

Opencv调试版报错,

[ INFO:0@7.479] global D:\OpenCV455\opencv-4.5.5\modules\core\src\parallel\registry_parallel.impl.hpp (96) cv::parallel::ParallelBackendRegistry::ParallelBackendRegistry core(parallel): Enabled backends(3, sorted by priority): ONETBB(1000); TBB(990); OPENMP(980)
[ INFO:0@7.479] global D:\OpenCV455\opencv-4.5.5\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load D:\OpenCV455\dev\bin\Debug\opencv_core_parallel_onetbb455_64d.dll => FAILED
[ INFO:0@7.480] global D:\OpenCV455\opencv-4.5.5\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_core_parallel_onetbb455_64d.dll => FAILED
[ INFO:0@7.480] global D:\OpenCV455\opencv-4.5.5\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load D:\OpenCV455\dev\bin\Debug\opencv_core_parallel_tbb455_64d.dll => FAILED
[ INFO:0@7.481] global D:\OpenCV455\opencv-4.5.5\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_core_parallel_tbb455_64d.dll => FAILED
[ INFO:0@7.481] global D:\OpenCV455\opencv-4.5.5\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load D:\OpenCV455\dev\bin\Debug\opencv_core_parallel_openmp455_64d.dll => FAILED
[ INFO:0@7.481] global D:\OpenCV455\opencv-4.5.5\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_core_parallel_openmp455_64d.dll => FAILED
[ INFO:0@8.558] global D:\OpenCV455\opencv-4.5.5\modules\highgui\src\registry.impl.hpp (114) cv::highgui_backend::UIBackendRegistry::UIBackendRegistry UI: Enabled backends(4, sorted by priority): GTK(1000); GTK3(990); GTK2(980); WIN32(970) + BUILTIN(WIN32UI)
[ INFO:0@8.558] global D:\OpenCV455\opencv-4.5.5\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load D:\OpenCV455\dev\bin\Debug\opencv_highgui_gtk455_64.dll => FAILED
[ INFO:0@8.559] global D:\OpenCV455\opencv-4.5.5\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_highgui_gtk455_64.dll => FAILED
[ INFO:0@8.565] global D:\OpenCV455\opencv-4.5.5\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load D:\OpenCV455\dev\bin\Debug\opencv_highgui_gtk3455_64.dll => FAILED
[ INFO:0@8.565] global D:\OpenCV455\opencv-4.5.5\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_highgui_gtk3455_64.dll => FAILED
[ INFO:0@8.565] global D:\OpenCV455\opencv-4.5.5\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load D:\OpenCV455\dev\bin\Debug\opencv_highgui_gtk2455_64.dll => FAILED
[ INFO:0@8.566] global D:\OpenCV455\opencv-4.5.5\modules\core\src\utils\plugin_loader.impl.hpp (67) cv::plugin::impl::DynamicLib::libraryLoad load opencv_highgui_gtk2455_64.dll => FAILED
[ INFO:0@8.567] global D:\OpenCV455\opencv-4.5.5\modules\highgui\src\backend.cpp (90) cv::highgui_backend::createUIBackend UI: using backend: WIN32 (priority=970)
[ INFO:0@8.567] global D:\OpenCV455\opencv-4.5.5\modules\highgui\src\window_w32.cpp (3013) cv::impl::Win32BackendUI::createWindow OpenCV/UI: Creating Win32UI window: Press ESC or Q to exit (1)

我仔细看了一下,我在编译Opencv455时确实没有加入TBB,OPENMP,和gtk这样的库。但是为什么会报错呢?

我搜索到了一个答案,

DLLs for parallel execution - build - OpenCV

这里我就不翻译了,把有用的部分录在下面,

mshabunin

Don’t worry, your OpenCV probably has built-in parallel backend too, you can check it in the cmake configuration output or by printing output of getBuildInformation() function.
Dynamic backends are optional.

These messages are visible because you are using debug build which has logging level set to INFO or DEBUG, you can omit these messages by setting environment variable OPENCV_LOG_LEVEL=e or 2 (OpenCV: cv::utils::logging Namespace Reference 65).

There is some info with build instructions and environment variables in the documentation 11 and the original PR 3. Though documentation mostly cover user-provided backends usage, these are different from dynamic backends (yeah, it gets complicated ).

In most cases you’ll want to have built-in parallel backend only, dynamic parallel backends are meant to be used if you want to create a single binary distribution of OpenCV with ability to choose backend dynamically on per-application basis (e.g. enable TBB backend in application which uses TBB too and use MS Concurrency for others). Also it helps to make some 3rdparty dependencies optional, so that you will have ability to use this distribution with minimal dependencies and add functionality or improve performance just by installing extra package.

Please note that built-in backend works as before, it can be TBB or OpenMP, just as in older versions. Furthermore there is a cmake option PARALLEL_ENABLE_PLUGINS which can be turned OFF to disable dynamic backends completely.

Idea is to first check for external implementations in plugins and only then fallback to built-in backend, so the order can not be changed. I understand this can be too verbose and perhaps logging level for these messages could be changed, but on the other hand this is an essence of debug build - provide as much information as possible for troubleshooting (for ex. try to launch basic GStreamer pipeline with GST_DEBUG=5 and you’ll see The Verbose log ).

结论:这些不用处理,不影响结果。

本文结束 

相关文章:

  • OpenVINO之text_detection_demo
  • Paddle在windows10+vs2019上的源码编译(失败)
  • Tesseract-OCR试运行
  • Tesseract-OCR在Windows10(VS2019+vcpkg)平台上的编译与使用
  • Tesseract-OCR:在Windows10(VS2019+SW)平台上的编译与使用
  • Tesseract-OCR在Ubuntu20.04平台上使用
  • ROS2 Error: Could not find a package configuration file provided by “turtlebot3_msgs“
  • ROS2 + colcon build 常见的一些报错
  • ROS2进阶:安装与初体验(附choco介绍)
  • ROS2进阶:colcon的初步使用--‘colcon‘ is not recognized
  • ROS2进阶:基本指令与RVIZ2介绍
  • Windows控制台cmd默认代码页修改的办法【GBK、UTF-8】
  • ROS2 ERROR: qt.qpa.plugin: Could not find the Qt platform plugin “windows“ in
  • ROS2 Warning: RosPluginProvider._parse_plugin_xml() plugin file rqt_gui_cpp/plugin.xml not found
  • ROS2进阶:turtlesim与rqt
  • hexo+github搭建个人博客
  • 【140天】尚学堂高淇Java300集视频精华笔记(86-87)
  • android高仿小视频、应用锁、3种存储库、QQ小红点动画、仿支付宝图表等源码...
  • axios请求、和返回数据拦截,统一请求报错提示_012
  • Gradle 5.0 正式版发布
  • js中forEach回调同异步问题
  • leetcode-27. Remove Element
  • oldjun 检测网站的经验
  • Redux 中间件分析
  • select2 取值 遍历 设置默认值
  • unity如何实现一个固定宽度的orthagraphic相机
  • windows下如何用phpstorm同步测试服务器
  • 代理模式
  • 日剧·日综资源集合(建议收藏)
  • 用mpvue开发微信小程序
  • 由插件封装引出的一丢丢思考
  • 自定义函数
  • Java数据解析之JSON
  • ​创新驱动,边缘计算领袖:亚马逊云科技海外服务器服务再进化
  • #DBA杂记1
  • #微信小程序(布局、渲染层基础知识)
  • (C语言)输入自定义个数的整数,打印出最大值和最小值
  • (echarts)echarts使用时重新加载数据之前的数据存留在图上的问题
  • (java)关于Thread的挂起和恢复
  • (阿里巴巴 dubbo,有数据库,可执行 )dubbo zookeeper spring demo
  • (二)斐波那契Fabonacci函数
  • (非本人原创)史记·柴静列传(r4笔记第65天)
  • (附源码)spring boot网络空间安全实验教学示范中心网站 毕业设计 111454
  • (附源码)springboot车辆管理系统 毕业设计 031034
  • (附源码)springboot教学评价 毕业设计 641310
  • (附源码)springboot课程在线考试系统 毕业设计 655127
  • (南京观海微电子)——I3C协议介绍
  • (四)图像的%2线性拉伸
  • (一) storm的集群安装与配置
  • (轉貼) 寄發紅帖基本原則(教育部禮儀司頒布) (雜項)
  • .h头文件 .lib动态链接库文件 .dll 动态链接库
  • .net 4.0 A potentially dangerous Request.Form value was detected from the client 的解决方案
  • .net wcf memory gates checking failed
  • .NET/C# 使窗口永不获得焦点
  • .NET的数据绑定