[PD] iemguts on windows 2

Patrice Colet colet.patrice at free.fr
Mon Jun 4 22:53:55 CEST 2012


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 - VVVV" <tebjan at vvvv.org>
> À: "Patrice Colet" <colet.patrice at 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 - VVVV"<tebjan at vvvv.org>
> >> À: "Pd List"<pd-list at 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 - VVVV:
> >>> 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 at iem.at mailing list
> >>> UNSUBSCRIBE and account-management ->
> >>> http://lists.puredata.info/listinfo/pd-list
> >>
> >> _______________________________________________
> >> Pd-list at iem.at mailing list
> >> UNSUBSCRIBE and account-management ->
> >> http://lists.puredata.info/listinfo/pd-list
> >>
>



More information about the Pd-list mailing list