<div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">It sounds like you didn't copy z.dll to the bin directory. The new plugin needs that. It can't use z-1.dll</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 27 Sept, 2022, 21:47 Jon Lovewell via gstreamer-devel, <<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="m_6158169700781632845WordSection1">
<p class="MsoNormal">Hi All,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have built the matroska plugin from source, using the 1.20.3 branch with meson and the msvc toolchain.  When I replace the actual matroska dll included as part of the 1.20.3 msvc binaries and then run gst-inspect it reports the following<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">(gst-inspect-1.0:17092): GStreamer-WARNING **: 15:44:18.959: Failed to load plugin 'path\to\gstmatroska.dll': The specified module could not be found.<u></u><u></u></p>
<p class="MsoNormal">This usually means Windows was unable to find a DLL dependency of the plugin. Please check that PATH is correct.<u></u><u></u></p>
<p class="MsoNormal">You can run 'dumpbin -dependents' (provided by the Visual Studio developer prompt) to list the DLL deps of any DLL.<u></u><u></u></p>
<p class="MsoNormal">There are also some third-party GUIs to list and debug DLL dependencies recursively.<u></u><u></u></p>
<p class="MsoNormal">No such element or plugin 'matroska'<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have also built the pango dll in the same way and when I replaced that and did the same thing the details of the plugin were reported correctly.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">One thing that I have noticed is that the dll built from source can be inspected by the version of gst-inspect also built from the source.  Similarly, if I replace the dll built from source with that included by the installer and then use
 gst-inspect built from source then I get the same error as shown above.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">My hunch is that it is something to do with matroska’s dependency on the z and possibly bz2 dll’s. 
<u></u><u></u></p>
<p class="MsoNormal">Installed version has the following dll’s <u></u><u></u></p>
<p class="MsoNormal" style="text-indent:36.0pt">z-1.dll<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:36.0pt">bz2.dll<u></u><u></u></p>
<p class="MsoNormal" style="text-indent:36.0pt">gstbz2.dll <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">When built from source I only have the following dll<u></u><u></u></p>
<p class="MsoNormal">               z.dll<u></u><u></u></p>
<p class="MsoNormal">               <u></u><u></u></p>
<p class="MsoNormal">I wonder if anyone can shed any light on what I am doing wrong or what else I need to do when building matroska.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Many Thanks<u></u><u></u></p>
</div>
</div>

</blockquote></div>