[PD] Need assistant compiling objects for OS 10.9.5, Pd-ext 43.4
msp at ucsd.edu
Tue Jul 28 17:54:56 CEST 2015
Hi Reed -
I think the one in vanilla s up to date... it has teh i386 flag in two
pd_darwin: obj1.pd_darwin obj2.pd_darwin \
obj3.pd_darwin obj4.pd_darwin obj5.pd_darwin dspobj~.pd_darwin
DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch -arch i386 -arch x86_64
cc $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
cc -bundle -undefined suppress -arch i386 -arch x86_64 \
-flat_namespace -o $*.pd_darwin $*.o
rm -f $*.o
PLease 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).
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
> "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 at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list