Hey List,
I'm new here, so let me first introduce myself. I'm Bas Kooiker, an Artificial Intellegence master student from the Netherland. For my thesis I'm working on unsupervised gesture recognition and for this purpose I would like to use the Gesture Variation Follower created by Baptiste Caramiaux that can be found here: http://baptistecaramiaux.com/blog/gesture-variation-follower-gvf/.
That's where my question comes up.
I'm trying to build the pd object on a windows machine using the Makefile that comes with the code. I use Cygwin, installed all the required packages and have the last distribution of Pd-extended installed, but I get the following error:
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
Any help with solving this is very much appreciated.
Best regards, Bas Kooiker
-----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
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@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@iem.at http://lists.puredata.info/listinfo/pd-dev
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2013-11-06 15:52, Bas Kooiker wrote:
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?
hard to tell. WOW64 is actually the wrapper for running 32bit applications on 64bit windos, so it should be corrct.
un unix there is a utility called "file", which should tell you what the file is. if "file" exists for cygwin, you *should* get something like this: $ file Build/CYGWIN_NT-6.1-WOW64/gvf.dll Build/CYGWIN_NT-6.1-WOW64/gvf.dll PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
but ther ecan be numerous reasons why the loading fails. do you get any specific errors?
fgmasr IOhannes
'file' gives me exactly that output indeed. Pd says nothing more than:
C:/Program Files (x86)/pd/startup/gvf: can't load startup library'!
So that's pretty useless.
2013/11/6 IOhannes m zmoelnig zmoelnig@iem.at
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2013-11-06 15:52, Bas Kooiker wrote:
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?
hard to tell. WOW64 is actually the wrapper for running 32bit applications on 64bit windos, so it should be corrct.
un unix there is a utility called "file", which should tell you what the file is. if "file" exists for cygwin, you *should* get something like this: $ file Build/CYGWIN_NT-6.1-WOW64/gvf.dll Build/CYGWIN_NT-6.1-WOW64/gvf.dll PE32 executable (DLL) (GUI) Intel 80386, for MS Windows
but ther ecan be numerous reasons why the loading fails. do you get any specific errors?
fgmasr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/
iQIcBAEBCAAGBQJSembDAAoJELZQGcR/ejb43iQQAIGfAOyV6A0EW1T8WNvpXUoE 9TEMCTTn/o7PSTP5b56uG59rdgoSI2CwkvIRj4eWiL0B8eiaZqO1yXl0YcPuuJCW xcBMUDclSUKUrCQ5mQGusQILAXIDIX8P6PR2/dv3mhuG5eScKt3dAFaHa9BO33Sv UtumZ5BUpEOCKrJ1Ux00+em4WUsfxiSw2L6KfK5iFVIw7RAxNCtP+4MzCs9INvT5 roQmnSs4XFuQ+0ZKhixlLQvgPDVIeug6/HE4FkJBenYC0NyEf+gtXgSniVwsiJ55 OzhgtJsrZGg1L0fH+hqD9Z/ugUKdyPvM34LC3qL6zDBStK6MPjhWCTaK2gj4gB9H v2CrJnkfK/XmU/FeZeZlsXFjIPfnMEDj4ns/XKO4QSWQXhOBN6NV8osD5i97Dsk3 jW9vRZzv8PsMmuciL4jXP4hp3KdBNisZykbO4XAot1yV8hfplI3gosNSnJlL3J8J ObpE5UKXtOhXoovYc92aPy4bZWSH1uIjrrDkjMvCUJ4gMnsx2XVd9r6JPjWjW7mJ rWsn/uhUASvPF9j7QNgmbNQhx9ttVpG8VgnJGx/S98tRh3fDX4i9Oj+ni01DrcaD +Mcs/WDvUJ+dPnRCiB+ug0rqrV12QFWh3FvyIN75R81U21n6/fWnlK6fkSwW83jW sxxcEryGJs4CDAKl3RKe =dzgE -----END PGP SIGNATURE-----
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2013-11-06 17:42, Bas Kooiker wrote:
'file' gives me exactly that output indeed. Pd says nothing more than:
C:/Program Files (x86)/pd/startup/gvf: can't load startup library'!
So that's pretty useless.
start Pd with "-verbose".
start Pd from the cmdline, so you also catch errors printed to the stderr/stdout. while there, start Pd with "-noprefs", so you don't get interaction from other libraries loaded at startup)
don't put the library in a startup folder, but load it explicitely with "-lib C:\path\to\gvf" (put the dll into a path without spaces or other weird characters).
fgasmdr IOhannes
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@gmail.com À: pd-dev@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@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@iem.at http://lists.puredata.info/listinfo/pd-dev
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
It works! Indeed, using MinGW did the trick. Thanks a lot Patrice and IOhannes!
2013/11/6 Patrice Colet colet.patrice@free.fr
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@gmail.com À: pd-dev@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@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@iem.at http://lists.puredata.info/listinfo/pd-dev
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev