【发布时间】:2022-08-10 14:23:00
【问题描述】:
在 gstreamer 中有一个插件。 当我尝试使用 gst-inpect plugin_name 时,我收到消息:
(gst-inspect-1.0:6840): GStreamer-WARNING **: 08:35:23.841: Failed to load plugin \'C:\\msys64\\usr\\local\\lib\\gstreamer-1.0\\plugin_name.dll\'
This usually means Windows was unable to find a DLL dependency of the plugin. Please check that PATH is correct.
You can run \'dumpbin -dependents\' (provided by the Visual Studio developer prompt) to list the DLL deps of any DLL.
还有一些第三方 GUI 可以递归地列出和调试 DLL 依赖项。
我检查 dll 使用 ldd 和 dumpbin。还要检查递归依赖。经过研究,我发现 g_module_open 返回 NULL,而 %errorlevel% 为空。
如何找到加载插件失败的原因?
标签: mingw gstreamer glib msys2