<div dir="ltr">The command "<span style="font-family:arial,sans-serif;font-size:13px">brew install fftw --enable-sse2 --universal" </span><span style="font-family:arial,sans-serif;font-size:13px">worked—thanks Dan!!</span><div>
<span style="font-family:arial,sans-serif;font-size:13px">Now constantq~ is running. </span><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">I am now trying to open the patch cq2midi ( </span><font face="arial, sans-serif"><a href="http://grrrr.org/research/software/cq2midi/">http://grrrr.org/research/software/cq2midi/</a> ), so I also need the py/pyext object ( <a href="http://grrrr.org/research/software/py/">http://grrrr.org/research/software/py/</a> ) </font><span style="font-family:arial,sans-serif">to run—I have all of the other requirements (Python and Numpy). I am reading the readme.txt file but I am not sure where to locate the "binaries to load" in Pd-extended. I only see "Startup flags" in the Preferences. I put the path to the py.pd_darwin file there but the Pd crashed at startup. I'm also not sure which one of the several versions of the py files I should download from </span><font face="arial, sans-serif"><a href="http://grrrr.org/data/dev/ext/macos/pd/">http://grrrr.org/data/dev/ext/macos/pd/</a></font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Thanks!</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Federico</font></div><div>
<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 5, 2014 at 9:14 AM, Dan Wilcox <span dir="ltr"><<a href="mailto:danomatika@gmail.com" target="_blank">danomatika@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">To save time and further headache, the brew command would be:<div><br></div><div>    brew install fftw --enable-sse2 --universal</div>
<div><br></div><div>This will give you fftw compiled as a fat 32 & 64 bit library.</div><div><br></div><div>I just tried it and double checked with lipo:</div><div><br></div><div>    $ lipo -info /usr/local/Cellar/fftw/3.3.4/lib/libfftw3.3.dylib <br>
    Architectures in the fat file: /usr/local/Cellar/fftw/3.3.4/lib/libfftw3.3.dylib are: i386 x86_64</div><div><br></div><div>For future reference, the --universal brew command works with almost all formulas.</div><div><br>
<div><div>On Jul 5, 2014, at 9:09 AM, via Pd-list <<a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>> wrote:</div><br><blockquote type="cite"><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:Helvetica;color:rgb(127,127,127)"><b>From:<span> </span></b></span><span style="font-family:Helvetica">Rafael Vega via Pd-list <<a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>><br>
</span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:Helvetica;color:rgb(127,127,127)"><b>Subject:<span> </span></b></span><span style="font-family:Helvetica"><b>Re: [PD] constantq~ - Thomas Grill</b><br></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:Helvetica;color:rgb(127,127,127)"><b>Date:<span> </span></b></span><span style="font-family:Helvetica">July 5, 2014 at 9:08:27 AM EDT<br></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:Helvetica;color:rgb(127,127,127)"><b>To:<span> </span></b></span><span style="font-family:Helvetica">Federico Llach <<a href="mailto:federicollach@gmail.com" target="_blank">federicollach@gmail.com</a>><br>
</span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:Helvetica;color:rgb(127,127,127)"><b>Cc:<span> </span></b></span><span style="font-family:Helvetica"><a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>, Thomas Grill <<a href="mailto:gr@grrrr.org" target="_blank">gr@grrrr.org</a>><br>
</span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px">
<span style="font-family:Helvetica;color:rgb(127,127,127)"><b>Reply-To:<span> </span></b></span><span style="font-family:Helvetica"><a href="mailto:email.rafa@gmail.com" target="_blank">email.rafa@gmail.com</a><br></span></div>
<div class=""><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
I guess homebrew installed a 64 bit version of the library, not a "universal" or "fat" binary that contains both 32 and 64 builds. Is the external compiled for 32 or 64? if 64, you could use pd-extended 64 and give that a try.</div>
<div class="gmail_extra" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br><br><div class="gmail_quote">On Fri, Jul 4, 2014 at 2:37 PM, Federico Llach<span> </span><span dir="ltr"><<a href="mailto:federicollach@gmail.com" target="_blank">federicollach@gmail.com</a>></span><span> </span>wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Ok, that was a step forward—thanks Rafael! Now I do have a libfftw3f.3.dylib file in /usr/local/lib, which is a link file to /usr/local/Cellar/fftw/3.3.4/lib (this seems to be the way Homebrew deals with the installations).<div>
<br></div><div>However, when I try to create the constantq~ object in Pd-extended I receive:</div><div><div><br></div><div>/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/constantq~/constantq~.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/constantq~/constantq~.pd_darwin, 10): Library not loaded: /usr/local/lib/libfftw3f.3.dylib</div>
<div>  Referenced from: /Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/constantq~/constantq~.pd_darwin</div></div><div><div>  Reason: no suitable image found.  Did find:</div><div><span style="white-space:pre-wrap"> </span>/usr/local/lib/libfftw3f.3.dylib: mach-o, but wrong architecture</div>
<div><span style="white-space:pre-wrap">  </span>/usr/local/lib/libfftw3f.3.dylib: mach-o, but wrong architecture</div></div><div><br></div><div>I am reading as much as I can understand and—although I don't know much about this—my current thought is that I am in a 32/64 bit dilemma here (?). My processor is Intel Core i7, so according to Apple that is 64 bit. Related: since Thomas suggested I should do "single precision" installation, I used "brew install fftw --enable-sse2" which I thought enables single precision according to <a href="https://github.com/Homebrew/homebrew/blob/master/Library/Formula/fftw.rb" target="_blank">https://github.com/Homebrew/homebrew/blob/master/Library/Formula/fftw.rb</a><span> </span>. When that didn't work I uninstalled and just used "brew install fftw", with same results. Terminal session of this attached.</div>
<div><br></div><div>I found this thread from this mailing list on "Wrong architecture" issues: <a href="http://lists.puredata.info/pipermail/pd-list/2011-04/088265.html" target="_blank">http://lists.puredata.info/pipermail/pd-list/2011-04/088265.html</a></div>
<div><br></div><div>Any thoughts?</div></div></blockquote></div></div></div></blockquote></div><br><div>
<span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="word-wrap:break-word">
<div>--------</div><div>Dan Wilcox</div><div>@danomatika</div><div><a href="http://danomatika.com" target="_blank">danomatika.com</a></div><div><a href="http://robotcowboy.com" target="_blank">robotcowboy.com</a></div><div>
<br></div></div></span><br></div></span><br><br>
</div>
<br></div></div></blockquote></div><br></div>