<div dir="ltr">hello, <div><br></div><div>I didn&#39;t find a solution to investigate firther the DLL loading error so I setup a new environnement in Visual C++ from scratch.</div><div>And it build.</div><div>Also i made a static FTGL library with freetype 2.5.0 (the 2.3.5 has linking issue even with FTGLdemo).</div>


<div><br></div><div>So I have a working Gem.dll statically linked to FTGL and Freetype (no need to have lot&#39;s of DLL beside it).</div><div>Not tested yet, but Gem.dll loads on Windows XP SP3 (but you need msvcr100.dll and msvcp100.dll besides it since it was built under WIndows 7).</div>

<div>and [gemvertexbuffer] (both on Windows 7 and XP SP3)<br></div><div><br></div><div>Cheers</div><div><br></div><div>A </div>
<div class="gmail_extra"><br clear="all"><div>--<br>do it yourself                       <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br></div>
<br><br><div class="gmail_quote">2013/11/21 Antoine Villeret <span dir="ltr">&lt;<a href="mailto:antoine.villeret@gmail.com" target="_blank">antoine.villeret@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div dir="ltr"><div><div><div><div><div>hi, <br><br></div>I try to link Gem against a static version of ftgl but Pd can&#39;t load the Gem.dll anymore<br></div>this is the command line : <br>pd.exe -noprefs -lib C:\Users\win7\pd\Gem\build\win-vce2010\Gem -verbose<br>



<br></div>and the console output : <br>&#39;pd-gui&#39; connecting to &#39;pd&#39; on localhost 5400 ...<br>------------------ done with main ----------------------<br>input channels = 0, output channels = 2<br>Default font: DejaVu Sans Mono<br>



The Pd window filtered 4 lines<br>tried C:/Users/win7/pd/Gem/build/win-vce2010/Gem.m_i386 and failed<br>tried C:/Users/win7/pd/Gem/build/win-vce2010/Gem.dll and succeeded<br>C:\\Users\\win7\\pd\\Gem\\build\\win-vce2010\\Gem.dll: couldn&#39;t load<br>



C:/Users/win7/pd/Gem/build/win-vce2010/Gem: can&#39;t load library<br>The Pd window filtered 9 lines<br><br></div><div>there are not so much informations...<br></div>how can I investigate further ?<br>is there a Microsoft tool to check is the DLL is OK ?<br>



<br>+<span><font color="#888888"><br></font></span></div><span><font color="#888888">a<br></font></span></div><div class="gmail_extra"><div><br clear="all"><div>--<br>do it yourself                       <br>
<a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a><br></div>

<br><br></div><div><div><div class="gmail_quote">2013/11/4 Antoine Villeret <span dir="ltr">&lt;<a href="mailto:antoine.villeret@gmail.com" target="_blank">antoine.villeret@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div>2013/11/4 IOhannes m zmoelnig <span dir="ltr">&lt;<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">




-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<div><br>
On 2013-11-04 14:20, Antoine Villeret wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I built GEM on Windows with Visual C++ 2010 Express under Windows<br>
&gt; 7. I made a how-to pdf with a step-by-step.<br>
<br>
</div>this is very welcome.?!<br></blockquote><div><br></div></div><div>cool, the very first version is attached, and also in my repo under the build/win-vce2010 in the vce2010 branch<br></div><div>but I wrote this as I come through the build, I hope this could be applied to other visual version<br>




<br></div><div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div><br>
&gt; I have a working Gem.dll and several extras.<br>
<br>
</div>cool.<br>
<div><br>
&gt; I managed to build filmDS by making some changes in the code<br>
&gt; (adding a lacking qedit.h and changing #include order) but this<br>
&gt; could have broken other builds.<br>
<br>
</div>hmm, weird (i mean: why does it work on the original build?)</blockquote><div> </div></div><div>the first strange thing, is that qedit.h have been removed from Windows SDK 7<br></div><div>I found a replacement here : <a href="http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/2ab5c212-5824-419d-b5d9-7f5db82f57cd/qedith-missing-in-current-windows-sdk-v70?forum=windowsdirectshowdevelopment" target="_blank">http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/2ab5c212-5824-419d-b5d9-7f5db82f57cd/qedith-missing-in-current-windows-sdk-v70?forum=windowsdirectshowdevelopment</a><br>




</div><div>but after that, there are some error due to including order<br></div><div>I know this is strange but I&#39;m thinking this is due to the new SDK version<br></div><div>maybe it is possible to use the old one still on Windows 7<br>




<br></div><div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div><br>
&gt;<br>
&gt; I also have a question concerning Gem&#39;s dependencies. I need to put<br>
&gt; some dll (freetype6.dll, ftgl.dll, pthreadVC2.dll and zlib/dll)<br>
&gt; beside Gem.dll.<br>
<br>
</div>iirc, i build a static library of FTGL and link to that.<br>
this should fix the freetype6.dll/ftgl.dll issue (maybe zlib.dll as well).<br></blockquote><div><br></div></div><div>this is what I guess, I&#39;ll try to do the same and i&#39;ll update the how-to<br><br></div><div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">

as for pthreadVC2.dll: isn&#39;t this shipped with Pd-vanilla?<br></blockquote><div> <br></div></div><div>I have pthreadGC2.dll, pthreadVC.dll and pthreadVC.lib in pd-0.45.3/bin<br></div><div>but no pthreadVC2.dll, maybe one of those could be used instead<br>




<br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div><br>
&gt;<br>
&gt; I build Gem mainly to be able to build pix_opencv on Windows and I<br>
&gt; don&#39;t try IT a lot. So if somebody have time to test this on<br>
&gt; Windows, I&#39;ll be happy to make an archive with binaries. For now,<br>
&gt; there is a new folder under the build\ folder in my github<br>
&gt; Gem/vce2010 branch. <a href="https://github.com/avilleret/Gem.git" target="_blank">https://github.com/avilleret/Gem.git</a><br>
<br>
</div>thanks.<br></blockquote><div><br></div></div><div>you&#39;re welcome :-)<span><font color="#888888"><br><br></font></span></div><span><font color="#888888"><div>a <br></div></font></span><div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">

<br>
fgmasdr<br>
IOhannes<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.15 (GNU/Linux)<br>
Comment: Using GnuPG with Icedove - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
iQIcBAEBCAAGBQJSd6KLAAoJELZQGcR/ejb4pOkP/3CT1dwl0FcXgB7XRqQZIZ/C<br>
F2lVyEBeuEqjF20dOUHqqGvVUofn4lk3HlXSTxRa3vP58K10yru5cf3IQGHsiktw<br>
qkNu3tradDqKVG5N8rEEbe9BoeDY6niVM1m/GDq93JGMconALGXKX0e07Oc2YseM<br>
WpYwKNincp09YnzOlOsUekEbt3Sp0pAhqd1MIP98s7tvOxf3cmHd0jWUtG10F2My<br>
VVCslSy4A7eEi2fFNlCD20aKdBFdvbt6gkbb5VT8aPLiesBvppFlr9dK3HdvaCH3<br>
OIkMjMgOnUdQCyXS1eBQ3HJ9xQXWwEc3HxR/AYsk5ibAy+xb2uP1GG3u5HOVZQ1e<br>
9u225ubnHSuQ7OkbILfBiZSdZtnWnhGY9jzQswiURKPyDxnT19YYj/2US2ilOmpO<br>
oBH8BewPWzX4tNsttu/DqbZJREj3pUiZlQz9t9xtp2GFgIK2B7E/qB+VXS6HgZVC<br>
SqXZGZ9Ms1KdyVkuzuDt9Af13B8KOnjGWq+rsUzu+dr0PPrQSTScwCwehhceSNtY<br>
yrHsXMtJkD8mvsZiGp0f2QFN0N3/oNCpQ0gRuflqA15BGjMQn6/4UNFkLl1ja2XO<br>
M67+U2VAvKbw1VBkVX7gKgyVzc1BpdFQ7Mb8fTCriW7ARo3Rtv7BCDsxH8P516+o<br>
Y2KHWwXIeNdC+BgHANex<br>
=eW2b<br>
-----END PGP SIGNATURE-----<br>
<br>
_______________________________________________<br>
GEM-dev mailing list<br>
<a href="mailto:GEM-dev@iem.at" target="_blank">GEM-dev@iem.at</a><br>
<a href="http://lists.puredata.info/listinfo/gem-dev" target="_blank">http://lists.puredata.info/listinfo/gem-dev</a><br>
</blockquote></div></div><br></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>