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