<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></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<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></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.<o:p></o:p></p>
<p class="MsoNormal">This usually means Windows was unable to find a DLL dependency of the plugin. Please check that PATH is correct.<o:p></o:p></p>
<p class="MsoNormal">You can run 'dumpbin -dependents' (provided by the Visual Studio developer prompt) to list the DLL deps of any DLL.<o:p></o:p></p>
<p class="MsoNormal">There are also some third-party GUIs to list and debug DLL dependencies recursively.<o:p></o:p></p>
<p class="MsoNormal">No such element or plugin 'matroska'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></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. 
<o:p></o:p></p>
<p class="MsoNormal">Installed version has the following dll’s <o:p></o:p></p>
<p class="MsoNormal" style="text-indent:36.0pt">z-1.dll<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:36.0pt">bz2.dll<o:p></o:p></p>
<p class="MsoNormal" style="text-indent:36.0pt">gstbz2.dll <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When built from source I only have the following dll<o:p></o:p></p>
<p class="MsoNormal">               z.dll<o:p></o:p></p>
<p class="MsoNormal">               <o:p></o:p></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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Many Thanks<o:p></o:p></p>
</div>
</body>
</html>