<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div>Just starting with the most obvious, Gem.dll can't find pd.dll.  Any clues?  pd.dll <br></div><div dir="ltr">is sitting there in the same directory as pd.exe and pd.com.</div><div dir="ltr"><br></div><div id="yui_3_16_0_ym18_1_1459794834966_20032" dir="ltr">-Jonathan<br></div><div id="yui_3_16_0_ym18_1_1459794834966_20005"><span></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Monday, April 4, 2016 4:23 PM, IOhannes m zmölnig <zmoelnig@iem.at> wrote:<br></font></div>  <br><br> <div class="y_msg_container">On 04/04/2016 06:47 PM, Jonathan Wilkes via Pd-list wrote:<br clear="none">> However, when loading Gem I get errors like the following to stderr:<br clear="none">> dylib loading file 'gem_fileAVI.dll'!GemDylib failed: #126: The specified module could not be found.<br clear="none">><br clear="none">> I also see this on the console:"please manually add 'blah/blah/blah/extra/gem' to your search path!<br clear="none">> gem_fileAVI.dll is in the same extra/Gem folder as Gem.dll.<br clear="none">> Shouldn't Windows search by default for library dependencies in the same <br clear="none">> directory as the library itself?<br clear="none"><br clear="none">Gem is dlopen()ing (well LoadLibrary()ing) the plugins manually, so it<br clear="none">doesn't really matter where W32 is looking for them.<br clear="none"><br clear="none"><br clear="none">> Does "add manually" mean to add the search path <br clear="none"><br clear="none">yes, this is what the message means.<br clear="none"><br clear="none"><br clear="none">afaict (googling for "LoadLibrary returns 126") the problem is that the<br clear="none">dependencies of gem_fileAVI.dll cannot be resolved.<br clear="none">use Dependency Walker or simile to find out what is missing.<br clear="none"><br clear="none"><br clear="none">also, i happily accept PRs for the Gem-wiki [1] detailing the process of<br clear="none">building Gem with msys2.<br clear="none"><br clear="none">gfmstd<br clear="none">IOhannes<div class="yqt1870925537" id="yqtfd64067"><br clear="none"><br clear="none">[1] </div><a shape="rect" href="https://github.com/umlaeute/Gem/wiki" target="_blank">https://github.com/umlaeute/Gem/wiki</a><br clear="none">  clone as <a shape="rect" href="https://github.com/umlaeute/Gem.wiki.git" target="_blank">https://github.com/umlaeute/Gem.wiki.git</a><div class="yqt1870925537" id="yqtfd48017"><br clear="none"></div><br><div class="yqt1870925537" id="yqtfd19482">_______________________________________________<br clear="none"><a shape="rect" ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a shape="rect" href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>