<div dir="ltr">It works! Indeed, using MinGW did the trick.<div style>Thanks a lot Patrice and IOhannes!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/6 Patrice Colet <span dir="ltr">&lt;<a href="mailto:colet.patrice@free.fr" target="_blank">colet.patrice@free.fr</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Colet Patrice<br>
 Hello Bas,<br>
<br>
 AFAIK if you build your dll with mingw it should be compatible with pd-extended and pd-vanilla, otherwise you will need to compile a cygwin version of pd to run your dll (the version will need cygwin libs to run)<br>
<br>
<br>
----- Mail original -----<br>
&gt; De: &quot;Bas Kooiker&quot; &lt;<a href="mailto:baskooiker90@gmail.com">baskooiker90@gmail.com</a>&gt;<br>
&gt; À: <a href="mailto:pd-dev@iem.at">pd-dev@iem.at</a><br>
&gt; Envoyé: Mercredi 6 Novembre 2013 15:52:02<br>
&gt; Objet: Re: [PD-dev] compiling Gesture Variation Follower (was Re: (no subject))<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Oh yeah, I forgot about that. Will do next time!<br>
&gt;<br>
&gt;<br>
&gt; Getting cygwin 32 worked! I succefully built the dll. But now the<br>
&gt; library can&#39;t be loaded in Pd. The dll is created in the folder<br>
&gt; Build/CYGWIN_NT-6.1-WOW64/. Does the WOW64 mean it is still a 32 vs<br>
&gt; 64 bit problem?<br>
&gt;<br>
&gt;<br>
&gt; Any other idea?<br>
&gt;<br>
&gt; 2013/11/6 IOhannes m zmoelnig &lt; <a href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a> &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -----BEGIN PGP SIGNED MESSAGE-----<br>
&gt; Hash: SHA256<br>
&gt;<br>
&gt; On 2013-11-06 13:56, Bas Kooiker wrote:<br>
&gt; &gt; Hey List,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m new here, so let me first introduce myself.<br>
&gt;<br>
&gt; welcome!<br>
&gt;<br>
&gt; for future emails, it would help to set a &quot;subject&quot; of the email, so<br>
&gt; people can find your mail more quickly in their preferred mail client<br>
&gt; (or the list archives).<br>
&gt;<br>
&gt; &gt; g++ -rdynamic -shared -L&quot;/cygdrive/c/Program Files/pd/src&quot;<br>
&gt; &gt; -L&quot;/cygdrive/c/Program Files/pd/bin&quot; -o &quot;gvf.dll&quot; &quot;gvf.o&quot;<br>
&gt; &gt; &quot;../src/GestureVariationFollower.o&quot; -lc -lpd<br>
&gt; &gt; /usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../x86_64-pc-cygwin/bin/ld:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; skipping incompatible /cygdrive/c/Program Files/pd/bin/pd.dll when<br>
&gt; &gt; searching for -lpd<br>
&gt; &gt; /usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../x86_64-pc-cygwin/bin/ld:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; skipping incompatible /cygdrive/c/Program Files/pd/bin/pd.dll when<br>
&gt; &gt; searching for -lpd<br>
&gt; &gt; /usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../x86_64-pc-cygwin/bin/ld:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; cannot find -lpd<br>
&gt; &gt; collect2: fout: ld gaf exit-status 1 terug Makefile:270: recept<br>
&gt; &gt; voor doel &#39;gvf.dll&#39; is mislukt make: *** [gvf.dll] Fout 1<br>
&gt;<br>
&gt; on w32 you usually need to link against &quot;pd.dll&quot;.<br>
&gt; on your system, the linker can find &quot;pd.dll&quot;, but it considers it<br>
&gt; &quot;incompatible&quot;.<br>
&gt; most likely this is because on w32 pd (both pd-extended and<br>
&gt; pd-vanilla), are usually only built for 32bit architectures, whereas<br>
&gt; you seem to build for 64bit (x86_64-pc-cygwin).<br>
&gt;<br>
&gt; you should either get yourself a 32bit cygwin or compile a 64bit<br>
&gt; version of Pd yourself.<br>
&gt;<br>
&gt; mgasdr<br>
&gt; IOhannes<br>
&gt;<br>
&gt; -----BEGIN PGP SIGNATURE-----<br>
&gt; Version: GnuPG v1.4.15 (GNU/Linux)<br>
&gt; Comment: Using GnuPG with Icedove - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
&gt;<br>
&gt; iQIcBAEBCAAGBQJSekWJAAoJELZQGcR/ejb4kycP/0Z4flo/mSRkNZFPte/Gv3mP<br>
&gt; o+vu4znYCIuxoDec4QKVf8v4wPrCdlvlHG8z31OgNDBqpRwEVNjWIMrCtYvrVuVV<br>
&gt; Mcw9r6s9mdzub78LVQykDbL8wIDyRjvthSfv5vK2/mlhyMBdD2dzV0CCV2h6s5fr<br>
&gt; gQMM02+fmw0oqQHujExbrqc3ix+cbM51yZIKlQduBoA5h95wigl1NvAAZYjSn6aR<br>
&gt; qlQbQ4Oh3yQrGjBUumZQVsm82c34Dx2C8pvSCW3wBgmg/l18iLKMqO6pzUeodRRz<br>
&gt; rltYygf3QRpwt6MbioUjM8CyaHRY75A0+qP+88JtXliTVDEcAbypA2S10lZzylie<br>
&gt; 10ugRzXFcmaMNpkr48uu8QzdRXmdE7M/8SZIrveYXiGJctHaeBhiYeiS9972SYd9<br>
&gt; 1WuUcI2MACpEVwdAkXWQ1jpIrj6J0bpJ1WxjKvcaCA3f7vPpQVYkrxaSZ8uGyzYm<br>
&gt; 8llcaFGXw0r4O86vnN6lqoXv0wLxhtJfSXdeleFMVQ0CsVeesYcF6pOKtex+ON56<br>
&gt; F6L5P9lD58Jqv2UzDzswVBtg6EEER6K3mUTnHpn3gl507tgZAbOc7AMq9Km1FLGM<br>
&gt; iinuscVKTMVxTQngBQj1ZMY4drxs7tnVSrkh04dK7zOg8RU3bowxocMs2nlquq1p<br>
&gt; gnHX4+VkbIhZylffO7u8<br>
&gt; =TjrR<br>
&gt; -----END PGP SIGNATURE-----<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pd-dev mailing list<br>
&gt; <a href="mailto:Pd-dev@iem.at">Pd-dev@iem.at</a><br>
&gt; <a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Pd-dev mailing list<br>
&gt; <a href="mailto:Pd-dev@iem.at">Pd-dev@iem.at</a><br>
&gt; <a href="http://lists.puredata.info/listinfo/pd-dev" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>