I checked out and compiled the pd vanilla 0.43  below:

Last Changed Rev: 12962
Last Changed Date: 2010-01-11 18:23:55 -0500 (Mon, 11 Jan 2010)


While pd compiled and ran fine,  I was not able to compile/link/run the 
"extras", such as "expr" etc..

Has anyone had success with the externs in "extras"  ??

thanks

Zack


------------------------------------------
my lame attempt:  


I commented out  the OPT_CFLAGS which reduced the compilation errors, but 
I wasn't able to get the "extras" to link properly and run.  I tried the  CFLAG 
-m32 and -m64, but with no success.



For example,  with "expr~"  

I tried:

cc -DPD -I../src -Wall -W -g -fPIC -arch i386  -mmacosx-version-min=10.4 -m64 
-isysroot /Developer/SDKs/MacOSX10.6.sdk   -o "expr~/vexp_fun.o" -c 
"expr~/vexp_fun.c"

and:

cc  -bundle -undefined dynamic_lookup -arch i386  -mmacosx-version-min=10.4 -o 
expr~/expr~.pd_darwin expr~/vexp.o expr~/vexp_fun.o expr~/vexp_if.o  -lc 
ld: warning: in expr~/vexp.o, file is not of required architecture


and it fails in runtime with:

/Users/zack/svn/0.43/extra/expr~/expr.pd_darwin: 
dlopen(/Users/zack/svn/0.43/extra/expr~/expr.pd_darwin, 10): no suitable image 
found.  Did find:
        /Users/zack/svn/0.43/extra/expr~/expr.pd_darwin: mach-o, but wrong 
architecture


 
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to