[PD-dev] compiling Gesture Variation Follower (was Re: (no subject))

Patrice Colet colet.patrice at free.fr
Wed Nov 6 18:34:54 CET 2013



Colet Patrice
 Hello Bas,

 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)


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



More information about the Pd-dev mailing list