I've put a zip file with the source, makefile and binaries for OSX, Linux and Windows at: http://pure-data.iem.at/Members/jorgecardoso/xnetreceive
I adapted the makefile from maxlib and tested it on those platforms...
Thank you all, jc
Jorge Cardoso <-> jorgecardoso@ieee.org
"Whether you believe you can, or whether you believe you can't, you're absolutely right." - Henry Ford
-----Original Message----- From: pd-list-admin@iem.at [mailto:pd-list-admin@iem.at] On Behalf Of Yves Degoyon Sent: sexta-feira, 7 de Maio de 2004 15:33 To: Pall Thayer Cc: Martin Peach; pd-list@iem.at Subject: Re: [PD] xnetreceive
hi,
this is taken from pdp/pidip Makefile for OSX :
g++ -o pdp.pd_darwin pidip-modules/*.o modules/*/*.o system/*/*.o $(PDP_LIBS) -dynamic -bundle -undefined error -multiply_defined suppress -twolevel_namespace -bundle_loader $(PD_EXECUTABLE)
i guess you can figure what to modify in this...
suerte, sevy
Pall Thayer wrote:
Ok, ld doesn't recognize the -export_dynamic and -shared
flags on Mac
OS X but at least I know what I'm looking for.
palli
Martin Peach wrote:
Pall Thayer wrote:
Not much of a programmer myself but I tried compiling this
on Mac OS
X. After commenting out the ifdef Unix and all the win stuff, the only error I get is the following... what does this mean?
pallis-Computer:/Applications/pd-0.37-1/src root# gcc
xnetreceive.c
ld: Undefined symbols: _main _binbuf_eval _binbuf_free _binbuf_getnatom
...
Looks like ld (the linker) is looking for entry points in pd. Probably because you need to build it as dynamic shared library as opposed to a standalone program. In my makefile I have ld -export_dynamic -shared ... which I believe is what it takes to do this in linux, but I don't know OSX enough to be sure that will work there as well.
Martin
PD-list mailing list PD-list@iem.at to manage your subscription (including un-subscription) see http://iem.at/cgi-bin/mailman/listinfo/pd-list
PD-list mailing list PD-list@iem.at to manage your subscription (including un-subscription) see http://iem.at/cgi-bin/mailman/listinfo/pd-list