On I go.  <br><br>Loading /usr/bin/wish turns out to be 64bit, but running pd from Miller&#39;s pre-built app (or Pd-extended pre-built) creates a 32bit version.  When compiling from source, I am making libPdTcl.dylib 32bit, but wish&#39;s &#39;load&#39; function thinks this is the wrong architecture - I think then that wish needs to be run as 32bit, but I can&#39;t figure out how to do this or how the pre-built app is doing this.  I can&#39;t find any doc&#39;s on that load function, either (line 67 of <a href="http://pd.tk">pd.tk</a>).  <br>
<br>I&#39;m just shooting in the dark here, trying to conjure up some advice.  I need to get pd compiled from source to work on an external.  <br><br>Rich<br><br><div class="gmail_quote">On Sat, Dec 26, 2009 at 12:29 AM, Rich E <span dir="ltr">&lt;<a href="mailto:reakinator@gmail.com">reakinator@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I hope someone can help me fix the last problem on this list, it is blocking me (libPdTcl.dylib wrong architecture).  I can&#39;t see why it is detected as the wrong architecture, everything I check says it is i386 compatible.  <br>

<br>I did remove alot from the <a href="http://configure.in" target="_blank">configure.in</a> file trying to get it work, so maybe there is a problem there.  It is attached.<br><br>merry christmas, feliz navidad és boldog karácsonzyt (i think I may have barely missed it in my time)!<br>
<font color="#888888">
<br>- rich</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Dec 23, 2009 at 4:44 AM, Rich E <span dir="ltr">&lt;<a href="mailto:reakinator@gmail.com" target="_blank">reakinator@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I am having problems compiling pd from Miller&#39;s website in OS X Snow Leopard.  Basically, Pd fell behind Apple&#39;s updates.  Here are my problems, fixes where I found them:<br><br>- the configure script automatically adds -isysroot blah blah for the 10.4 sdk, which doesn&#39;t work.  this line is removed.<br>


- the included portaudio (and more importantly, its coreaudio components) with pd does not match the coreaudio framework included with Snow Leopard.  There are lots of deprecations and finally undeclared methods.  I tried just updating the source code from that in portaudio&#39;s svn, but this led to further undefined calls that I don&#39;t remember.<br>


- using &#39;-disable-portaudio&#39; doesn&#39;t do any good because it is automatically added if you are on OS X (I wanted to just use jack since portaudio is outdated).<br>- I had to remove all &#39;-arch&#39; flags except i386 to get everything linked.<br>


<br>Okay, after that, it compiled. whew. Still, pd&#39;s gui will not run because libPdTcl.dylib either isn&#39;t found or is the wrong architecture, I still can&#39;t tell:<br><br>$ pd -jack<br>Error in startup script: dlopen(/usr/local/lib/pd/bin/../bin/libPdTcl.dylib, 10): no suitable image found.  Did find:<br>


    /usr/local/lib/pd/bin/../bin/libPdTcl.dylib: mach-o, but wrong architecture<br>    while executing<br>&quot;load $pd_guidir/bin/libPdTcl.dylib&quot;<br>    invoked from within<br>&quot;if {$pd_nt == 2} {<br># turn on James Tittle II&#39;s fast drawing<br>


    set tk::mac::useCGDrawing 1<br># anti-alias all lines that need it<br>    set tk::mac::CGAnt...&quot;<br>    (file &quot;/usr/local/lib/pd/bin/<a href="http://pd.tk" target="_blank">pd.tk</a>&quot; line 67)<br>^CPd: signal 2<br>

<br>It is there, they are all i386 and tcl/tk are universal binaries, so I don&#39;t know.  Anyone else?<br>
<br>Running pd with no gui and jack works.<br><br>regards,<br><font color="#888888">Rich<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>