[PD] compiling pd vanilla problems on OS X 10.6 Snow Leopard-- EXTRAS

Hans-Christoph Steiner hans at at.or.at
Tue Jan 12 20:46:11 CET 2010


I think you'll want to try the pd-gui-rewrite/0.43 branch for 10.6  
since it has a much improved build system:

svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-gui-rewrite/0.43/
./autogen.sh
./configure
make

There are still some issues on 10.6, but more testers and help would  
speed up fixing things. (check the archives for more info).

.hc

On Jan 12, 2010, at 2:18 PM, zack wrote:

> 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 at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



----------------------------------------------------------------------------

If nature has made any one thing less susceptible than all others of  
exclusive property, it is the action of the thinking power called an  
idea, which an individual may exclusively possess as long as he keeps  
it to himself; but the moment it is divulged, it forces itself into  
the possession of everyone, and the receiver cannot dispossess himself  
of it.            - Thomas Jefferson


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100112/8a60e4b6/attachment.htm>


More information about the Pd-list mailing list