Re: [PD] iemguts on windows 2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 and please, always always reply to the mailinglist rather than by personal email (unless you want some private conversation). On 2012-06-06 08:21, IOhannes m zmoelnig wrote: On 2012-06-06 00:45, Tebjan Halm - wrote: yep, the latest pd ist just missing that one export of glist_getindex. maybe someone just forgot it. i am trying to build pd vanilla with the makefile.mingw right now. after some (3hrs) trouble and search all files build, but i have a linker error now: ... g_text.o:g_text.c:(.text+0x19ac): undefined reference to `u8_wc_toutf8' g_rtext.o:g_rtext.c:(.text+0x57): undefined reference to `u8_charnum' g_rtext.o:g_rtext.c:(.text+0x173): undefined reference to `u8_offset' g_rtext.o:g_rtext.c:(.text+0x2a0): undefined reference to `u8_charnum' g_rtext.o:g_rtext.c:(.text+0x76c): undefined reference to `u8_offset' ... what lib is missing? i cant find any hints on it.. i guess its just something i have to install for mingw. any ideas? well, makefile.mingw seems to not build some files, namely s_utf8.c just add it to the SRC variable within makefile.mingw apart from that, i think the right way would be to build Pd using the autotoolchain. afair, some tweaks are required (alas!), which ought to be documented in the mailinglist archives (look out of patco and mingw) gmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/O92gACgkQkX2Xpv6ydvRHrQCeJdbuvj1d9Zb262a2tYI2U76Q 4fYAmgIh6YwQtBgrKr8Z20PMZEqx1kxW =kKWA -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows 2
Nice! http://.org/blog/default-directx-renderer#comment-80801 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows 2
yep! it would be even nicer to have on linux :P M Nice! http://.org/blog/default-directx-renderer#comment-80801 -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows 2
thanks, thats better! but then the next linker error pops up.. but it seems i am writing this in the wrong list, i will switch over to pd-dev with that matter. Am 06.06.2012 08:21, schrieb IOhannes m zmoelnig: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-06-06 00:45, Tebjan Halm - wrote: yep, the latest pd ist just missing that one export of glist_getindex. maybe someone just forgot it. i am trying to build pd vanilla with the makefile.mingw right now. after some (3hrs) trouble and search all files build, but i have a linker error now: ... g_text.o:g_text.c:(.text+0x19ac): undefined reference to `u8_wc_toutf8' g_rtext.o:g_rtext.c:(.text+0x57): undefined reference to `u8_charnum' g_rtext.o:g_rtext.c:(.text+0x173): undefined reference to `u8_offset' g_rtext.o:g_rtext.c:(.text+0x2a0): undefined reference to `u8_charnum' g_rtext.o:g_rtext.c:(.text+0x76c): undefined reference to `u8_offset' ... what lib is missing? i cant find any hints on it.. i guess its just something i have to install for mingw. any ideas? well, makefile.mingw seems to not build some files, namely s_utf8.c just add it to the SRC variable within makefile.mingw apart from that, i think the right way would be to build Pd using the autotoolchain. afair, some tweaks are required (alas!), which ought to be documented in the mailinglist archives (look out of patco and mingw) gmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/O9t0ACgkQkX2Xpv6ydvRtlwCfXq/WsE97nmmH30oawLH/M0Lq gkMAoORPe+CGJ65HGqFoRL8sXWk+5vsj =zUNR -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows 2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-06-04 20:25, Tebjan Halm - wrote: int glist_getindex(t_glist *x, t_gobj *y); but no body of it. does anyone know where it is and why the compiler can't find the reference? you see a forward declaration of a function defined by pd, but not exposed through it's headers. for older versions of Pd (0.43) most of those private functions will definitely be _unavailable_ on w32 (where you have to explicitely export symbols in order to make them available for other dlls; un*x is a usually less strict about exporting symbols). with 0.43 a number of those private functions have been marked as exported, so they might work with w32 as well. iemguts uses non-public functions quite a lot (hence it's power and name) fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/N64cACgkQkX2Xpv6ydvQhKACfagFbwgms5LjJLs2hoCnk5SoS mFUAniQOnblwCO7DnUwibjj0d/tz3yhz =hnLh -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows 2
now i got a bit further and the build file seems to work somehow, after i removed some compiler flags which mingw did not know. but then i geh the error: gcc -s -shared -Wl,--enable-auto-import -L/c/Program Files (x86)/pd/src -L/c/Program Files (x86)/pd/bin -L/c/Program Files (x86)/pd/obj -o canvasconnect ions.dll src/canvasconnections.o-lpd -lwsock32 -lkernel32 -luser32 -lgdi32 src/canvasconnections.o:canvasconnections.c:(.text+0x198): undefined reference to `glist_getindex' ... collect2: ld gab 1 als Ende-Status zurück make: *** [canvasconnections.dll] Error 1 then i looked into the .c file and found a definition for the method: int glist_getindex(t_glist *x, t_gobj *y); but no body of it. does anyone know where it is and why the compiler can't find the reference? thanks! Am 23.05.2012 21:06, schrieb Tebjan Halm - : hi all, there was an earlier discussion about compiling iemguts on windows, but it looks quite outdated. none of the provided solution was working for me. where can i find som sort of instructions on how to compile the external with mingw? thanks! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows 2
Hello, I've just tried cd pd-extended/0.43/externals/iem/iemguts make with msys after a svn checkout with cygwin, it builds all the dll. - Mail original - De: Tebjan Halm - teb...@.org À: Pd List pd-list@iem.at Envoyé: Lundi 4 Juin 2012 20:25:05 Objet: Re: [PD] iemguts on windows 2 now i got a bit further and the build file seems to work somehow, after i removed some compiler flags which mingw did not know. but then i geh the error: gcc -s -shared -Wl,--enable-auto-import -L/c/Program Files (x86)/pd/src -L/c/Program Files (x86)/pd/bin -L/c/Program Files (x86)/pd/obj -o canvasconnect ions.dll src/canvasconnections.o-lpd -lwsock32 -lkernel32 -luser32 -lgdi32 src/canvasconnections.o:canvasconnections.c:(.text+0x198): undefined reference to `glist_getindex' ... collect2: ld gab 1 als Ende-Status zurück make: *** [canvasconnections.dll] Error 1 then i looked into the .c file and found a definition for the method: int glist_getindex(t_glist *x, t_gobj *y); but no body of it. does anyone know where it is and why the compiler can't find the reference? thanks! Am 23.05.2012 21:06, schrieb Tebjan Halm - : hi all, there was an earlier discussion about compiling iemguts on windows, but it looks quite outdated. none of the provided solution was working for me. where can i find som sort of instructions on how to compile the external with mingw? thanks! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows 2
My build system is like this: http://puredata.info/docs/developer/WindowsMinGW the include folder in pd-extended install might not contain all files needed by the compiler for building iemguts, I don't really know... Anyway, if you launch make from msys console into your svn checkout, and if pd sources have been checked out as well, it should be okay. with cygwin: cd /cygdrive/c/msys/1.0/home/me/pd-extended svn checkout https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.43 and with msys: cd ~/pd-extended/0.43/externals/iem/iemguts make ... cygwin is able to compile pd externals? Colet Patrice - Mail original - De: Tebjan Halm - teb...@.org À: Patrice Colet colet.patr...@free.fr Envoyé: Lundi 4 Juin 2012 21:58:41 Objet: Re: [PD] iemguts on windows 2 hello patrice, could you give me some version infos of your build setup? i just tried to build with latest cygwin, but that wasn't working either... i have a fresh iemguts svn checkout and pd-extended 0.43.2 installed in program files x86 and the pd .h files seem to be found. but now it says: cc -rdynamic -shared -L/cygdrive/c/Program Files (x86)/pd/src -L/cygdrive/c/Program Files (x86)/pd/bin -o canvasargs.dll canvasargs.o-lc -lpd cc: nicht erkannte Option »-rdynamic« canvasargs.o: In function `canvasargs_list': /cygdrive/c/dev/c++/iemguts/iemguts/src/canvasargs.c:61: undefined reference to `_s_list' /cygdrive/c/dev/c++/iemguts/iemguts/src/canvasargs.c:61: undefined reference to `_s_bang' /cygdrive/c/dev/c++/iemguts/iemguts/src/canvasargs.c:61: undefined reference to `_s_float' /cygdrive/c/dev/c++/iemguts/iemguts/src/canvasargs.c:61: undefined reference to `_s_symbol' /cygdrive/c/dev/c++/iemguts/iemguts/src/canvasargs.c:61: undefined reference to `_s_' canvasargs.o: In function `canvasargs_bang': /cygdrive/c/dev/c++/iemguts/iemguts/src/canvasargs.c:85: undefined reference to `_s_list' collect2: ld gab 1 als Ende-Status zurück Makefile:305: recipe for target `canvasargs.dll' failed make: *** [canvasargs.dll] Error 1 mabe some component or even code files are missing? greets! Am 04.06.2012 20:52, schrieb Patrice Colet: Hello, I've just tried cd pd-extended/0.43/externals/iem/iemguts make with msys after a svn checkout with cygwin, it builds all the dll. - Mail original - De: Tebjan Halm - teb...@.org À: Pd Listpd-list@iem.at Envoyé: Lundi 4 Juin 2012 20:25:05 Objet: Re: [PD] iemguts on windows 2 now i got a bit further and the build file seems to work somehow, after i removed some compiler flags which mingw did not know. but then i geh the error: gcc -s -shared -Wl,--enable-auto-import -L/c/Program Files (x86)/pd/src -L/c/Program Files (x86)/pd/bin -L/c/Program Files (x86)/pd/obj -o canvasconnect ions.dll src/canvasconnections.o-lpd -lwsock32 -lkernel32 -luser32 -lgdi32 src/canvasconnections.o:canvasconnections.c:(.text+0x198): undefined reference to `glist_getindex' ... collect2: ld gab 1 als Ende-Status zurück make: *** [canvasconnections.dll] Error 1 then i looked into the .c file and found a definition for the method: int glist_getindex(t_glist *x, t_gobj *y); but no body of it. does anyone know where it is and why the compiler can't find the reference? thanks! Am 23.05.2012 21:06, schrieb Tebjan Halm - : hi all, there was an earlier discussion about compiling iemguts on windows, but it looks quite outdated. none of the provided solution was working for me. where can i find som sort of instructions on how to compile the external with mingw? thanks! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows
Its probably worthwhile to setup the whole Pd build system for Mingw if you are going to do much compiling: http://puredata.info/docs/developer/mingw We are sorely in need of some Windows developers. I currently do the maintenance, but literally the only time I use Windows is to fix the Pd Windows builds, so I am not really the best candidate. .hc On Apr 6, 2009, at 2:53 AM, Georg Werner wrote: hi, @iohannes: thanks for the hint: i also installed automake and autoconf @jonathan: see http://www.mingw.org/wiki/MSYS g. IOhannes m zmoelnig: Jonathan Wilkes wrote: Yes, I have msys installed. Would it make a difference where pd is installed? no not at all. the makefile uses filter and wildcard commands, which iirc, are built into Gnu make. your version of make doesn't recognize them and tries to execute commands of the very names. unfortunately it cannot find these commands in your path, thus the errors. fgamsdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list 'You people have such restrictive dress for women,’ she said, hobbling away in three inch heels and panty hose to finish out another pink- collar temp pool day. - “Hijab Scene #2, by Mohja Kahf ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows
hi, @iohannes: thanks for the hint: i also installed automake and autoconf @jonathan: see http://www.mingw.org/wiki/MSYS g. IOhannes m zmoelnig: Jonathan Wilkes wrote: Yes, I have msys installed. Would it make a difference where pd is installed? no not at all. the makefile uses filter and wildcard commands, which iirc, are built into Gnu make. your version of make doesn't recognize them and tries to execute commands of the very names. unfortunately it cannot find these commands in your path, thus the errors. fgamsdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows
Jonathan Wilkes wrote: Yes, I have msys installed. Would it make a difference where pd is installed? no not at all. the makefile uses filter and wildcard commands, which iirc, are built into Gnu make. your version of make doesn't recognize them and tries to execute commands of the very names. unfortunately it cannot find these commands in your path, thus the errors. fgamsdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows
have you installed msys? i'm using mingw 5.1.4, too. g. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows
Yes, I have msys installed. Would it make a difference where pd is installed? -Jonathan --- On Fri, 4/3/09, Georg Werner ge...@fricklr.de wrote: From: Georg Werner ge...@fricklr.de Subject: Re: [PD] iemguts on windows To: PD-List pd-list@iem.at Date: Friday, April 3, 2009, 2:21 PM have you installed msys? i'm using mingw 5.1.4, too. g. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows
Jonathan Wilkes wrote: Hi, Has anyone been able install iemguts objects on windows xp? some objects of iemguts might rely on interal functions of Pd which are not exported properly. this might make them not available on w32. I tried using the guide for compiling externals with mingw that was posted here some time ago, but after putting the dll files in the extra folder, I get an error like couldn't load propertybang and the object isn't created. I've tried both pd 0.42-4 and pd-ext 0.41-4 to no avail. There are no errors when compiling and linking. but propertybang should work fine iirc (that is: it shouldn't be one of the special cases mentioned above) i never tried to compile iemguts on w32. fgmadr IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows
Hi Jonathan, i have it done quite a while ago - cant remember how exactly :( (did you use the right sources?) http://www.sendspace.com/file/rrxgh9 (the dlls) i attached my makefile it compiles every file in the directory (not nice but works ok). hope it helps. g. Jonathan Wilkes schrieb: Hi, Has anyone been able install iemguts objects on windows xp? I tried using the guide for compiling externals with mingw that was posted here some time ago, but after putting the dll files in the extra folder, I get an error like couldn't load propertybang and the object isn't created. I've tried both pd 0.42-4 and pd-ext 0.41-4 to no avail. There are no errors when compiling and linking. Thanks, Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list # we want to compile all C-files we find in the current directory SOURCES=$(sort $(filter %.c, $(wildcard *.c))) # each C-files maps will become an external with the given filename-extension TARGETS=$(SOURCES:.c=.dll) NAME = helloworld CSYM = helloworld current: pd_win DEST = . PDPATH = . LDFLAGS = --export-dynamic -shared --enable -auto-import # --- WIN i386 --- pd_win: $(TARGETS) .SUFFIXES: .dll #LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \ #-Wall -W -Wshadow -Wstrict-prototypes -Werror \ #-Wno-unused -Wno-parentheses -Wno-switch WINCFLAGS = -DPD -DNT -W3 -WX -Werror -Wno-unused -mms-bitfields\ -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer #WININCLUDE = -I../include WININCLUDE = -I. .c.dll: gcc $(WINCFLAGS) $(WININCLUDE) -c -o $*.o $*.c gcc $(LDFLAGS) -o $*.dll $*.o pd.dll strip --strip-unneeded $*.dll rm -f $*.o # ... ../$*.dll #cp $*.dll $(DEST) clean: rm -f $*.o $(TARGETS).dll #install: # cp $(TARGETS).dll $(DEST)___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] iemguts on windows
Thanks, Georg. Those dll's work fine. However, if I try to compile using your Makefile, I get these errors: wildcard: command not found filter: command not found This is with mingw 5.1.4 -Jonathan --- On Thu, 4/2/09, Georg Werner ge...@fricklr.de wrote: From: Georg Werner ge...@fricklr.de Subject: Re: [PD] iemguts on windows To: PD-List pd-list@iem.at Date: Thursday, April 2, 2009, 8:11 PM Hi Jonathan, i have it done quite a while ago - cant remember how exactly :( (did you use the right sources?) http://www.sendspace.com/file/rrxgh9 (the dlls) i attached my makefile it compiles every file in the directory (not nice but works ok). hope it helps. g. Jonathan Wilkes schrieb: Hi, Has anyone been able install iemguts objects on windows xp? I tried using the guide for compiling externals with mingw that was posted here some time ago, but after putting the dll files in the extra folder, I get an error like couldn't load propertybang and the object isn't created. I've tried both pd 0.42-4 and pd-ext 0.41-4 to no avail. There are no errors when compiling and linking. Thanks, Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list # we want to compile all C-files we find in the current directory SOURCES=$(sort $(filter %.c, $(wildcard *.c))) # each C-files maps will become an external with the given filename-extension TARGETS=$(SOURCES:.c=.dll) NAME = helloworld CSYM = helloworld current: pd_win DEST = . PDPATH = . LDFLAGS = --export-dynamic -shared --enable -auto-import # --- WIN i386 --- pd_win: $(TARGETS) .SUFFIXES: .dll #LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \ #-Wall -W -Wshadow -Wstrict-prototypes -Werror \ #-Wno-unused -Wno-parentheses -Wno-switch WINCFLAGS = -DPD -DNT -W3 -WX -Werror -Wno-unused -mms-bitfields\ -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer #WININCLUDE = -I../include WININCLUDE = -I. .c.dll: gcc $(WINCFLAGS) $(WININCLUDE) -c -o $*.o $*.c gcc $(LDFLAGS) -o $*.dll $*.o pd.dll strip --strip-unneeded $*.dll rm -f $*.o # ... ../$*.dll #cp $*.dll $(DEST) clean: rm -f $*.o $(TARGETS).dll #install: # cp $(TARGETS).dll $(DEST) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list