Re: [PD-dev] Compilation on OSX

2007-05-31 Thread Hans-Christoph Steiner

On May 30, 2007, at 3:41 PM, David Plans Casal wrote:

 Hi Hans,

 On 30 May 2007, at 18:23, Hans-Christoph Steiner wrote:

 There are patches in packages/patches that allow you to compile on
 Mac OS X.  Pd-0.40.2-extended is building every night these days.

 Cool. However, I was wondering how to go about fixing the problem,
 more than just get it to compile for myself.

 I've never encountered lipo before and can't understand why this
 build would have a problem with libtcl...

 What's the difference between HEAD and 0.40.2-extended in terms of
 their libtcl dependency?

There is no difference AFAIK in how HEAD and 0.40.2-extended uses Tcl/ 
Tk.  IIRC, HEAD is using lipo manually to assemble universal/fat  
binaries.  The proper way to do that is by specifying -arch flags to  
gcc, then gcc will call lipo for you.

That could be the first thing you tackle, cleaning up the universal  
binary compilation in HEAD.  So far, I just added --disable-fat to ./ 
configure to turn off that stuff and just build on the native  
architecture.

.hc




 d



 ___
 PD-dev mailing list
 PD-dev@iem.at
 http://lists.puredata.info/listinfo/pd-dev



 


Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.   
It's about as sensible to say we declare war on night attacks and  
expect we're going to win that war.  We're not going to win the war  
on terrorism.- retired U.S. Army general, William Odom



___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] compiling external in Xcode

2007-05-31 Thread nosehair911
I am trying to get a test compile of the counter example from the how to guide 
built in Xcode but I dont 
know which target type to choose.  When I choose any of the dynamic lib options 
I get linker errors like 
this:
ld: Undefined symbols:
_class_addbang
_class_new
_gensym
_outlet_float
_outlet_new
_pd_new
_s_float

Does anyone know the answer to this?
Alain


___
PD-dev mailing list
PD-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev