Have you been able to build netsend~/netreceive~? After a few tweaks,
I was able to get the full piece built. You can also grab the
binaries from Hans' latest i386 OS X build:
http://autobuild.puredata.info/auto-build/2008-02-22/
In order to get the two pieces to build, you'll need to augment two
things. The error you're seeing below is due to your machine not
being too friendly with some ASM code in the float_cast.h file. This
bit of code is well above my head, but if we remove the float_cast.h
optimizations, they'll build. With the snippet below, you can either
place it within the Mac OS X section of float_cast.h, or delete
everything and put this in it:
#define HAVE_LRINT_REPLACEMENT 0 #include <math.h> #define lrint(dbl) ((int) (dbl)) #define lrintf(flt) ((int) (flt))
You were also correct in that you need to have the DARWININCLUDE var
inside the makefile point to your pd src, like so:
DARWININCLUDE = -I/Users/bz/Downloads/puredata-extended/pd/src -
Iinclude
Cheers, ~brandon
On Mar 16, 2008, at 2:50 PM, Philip Rivera wrote:
I get the exact same thing.
cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wshadow -Wno-unused -Wno-parentheses -Wno-switch -Iinclude -o netsend~.o -c netsend~.c /var/folders/3L/3LX5MRuIHOG1akXB+RYg1U+++yU/-Tmp-//ccc4rLii.s:614:no such instruction:
fctiw %st,%st' /var/folders/3L/3LX5MRuIHOG1akXB+RYg1U+++yU/-Tmp-//ccc4rLii.s:615:no such instruction:
stfd %st, -32(%ebp)' make: *** [netsend~.pd_darwin] Error 1Steffen Juul wrote:
On 16/03/2008, at 0.38, Philip Rivera wrote:
I've been trying to compile Olaf Matthews netsend~ and netreceive~ objects for pd for an intel mac. Has anyone had any success with this, or has binaries already compiled.
What error do you get?
I can compile netreceive~ fine. Only need to alter the DARWININCLUDE variable in the makefile to point to the Pd source code, if it
doesn't already.Wrt. netsend~ i get the following error:
cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -I/My/Path/To/pd/src -Iinclude -o netsend~.o -c
netsend~.c /var/tmp//cchTlZrk.s:597:no such instruction:fctiw %st,%st' /var/tmp//cchTlZrk.s:598:no such instruction:
stfd %st,-32(%ebp)' make: *** [netsend~.pd_darwin] Error 1
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list