I copy and pasted the code you put in your reply into the makefile.
I received this error when running "make pd_darwin":
"*** missing separator. Stop."
That probably just had to do with spacing issues caused by me copy and pasting. I edited the spacing below the ".c.pd_darwin:" section until it worked in Terminal.
I receive this error when Terminal finally began compiling:
"warning: unused parameter 'x' [-Wunused-parameter]"
Not sure what this is about, but the .pd_darwin files compiled anyway and I am able to load them into pd-extended. Success! Thank you so much for your help. I will definitely check out this new 'deken' plugin you mentioned.
Thanks,
Reed
On Tue, Jul 28, 2015 at 9:54 AM, Miller Puckette msp@ucsd.edu wrote:
Hi Reed -
I think the one in vanilla s up to date... it has teh i386 flag in two spots, thus:
pd_darwin: obj1.pd_darwin obj2.pd_darwin
obj3.pd_darwin obj4.pd_darwin obj5.pd_darwin dspobj~.pd_darwin.SUFFIXES: .pd_darwin
DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes
-Wno-unused -Wno-parentheses -Wno-switch -arch i386 -arch x86_64.c.pd_darwin: cc $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c cc -bundle -undefined suppress -arch i386 -arch x86_64
-flat_namespace -o $*.pd_darwin $*.o rm -f $*.oPLease do let me know if this fails.
Meanwhile, Pd extended is now over two years out of date... there's a move afoot to make it easy to get all those extra objects available for vanilli via the new 'deken' object (a sort of package finder and manager that's a Pd vanilla extern).
cheers Miller
On Tue, Jul 28, 2015 at 09:34:42AM -0600, Reed Perkins wrote:
Hello list,
I am trying to compile objects for pd for the first time. Running pd-extended 43.4 on OS 10.9.5. I just tried to compile the dummy objects
in
/6.externs. I navigated to /6.externs in Terminal and typed
"make pd_darwin"
I got error in the Pd console when I tried to load these externals in Pd:
"dspobj~.pd_darwin: mach-o, but wrong architecture"
I realized that pd-extended is 32-bit on my machine (I get "Pd-extended: Mach-O executable i386" from Terminal).
So I tried amending the makefile in /6.externs by adding the -arch i386 flag:
"DARWINCFLAGS = -arch i386 -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch"
and tried running "make pd_darwin" again.
Yet I get the exact same error in Pd. I run file on one of the dummy objects as I get this:
"obj1.pd_darwin: Mach-O 64-bit bundle x86_64"
so I assuming I am still not compiling for 32-bit.
Any tips?
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->