<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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">pd-list@lists.iem.at</a>> wrote:</div><br class="Apple-interchange-newline"><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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;"><span style="font-family: Helvetica; color: rgb(127, 127, 127);"><b>From:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica;">Rafael Vega via Pd-list <<a href="mailto:pd-list@lists.iem.at">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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;"><span style="font-family: Helvetica; color: rgb(127, 127, 127);"><b>Subject:<span class="Apple-converted-space"> </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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;"><span style="font-family: Helvetica; color: rgb(127, 127, 127);"><b>Date:<span class="Apple-converted-space"> </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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;"><span style="font-family: Helvetica; color: rgb(127, 127, 127);"><b>To:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica;">Federico Llach <<a href="mailto:federicollach@gmail.com">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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;"><span style="font-family: Helvetica; color: rgb(127, 127, 127);"><b>Cc:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica;"><a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>, Thomas Grill <<a href="mailto:gr@grrrr.org">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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;"><span style="font-family: Helvetica; color: rgb(127, 127, 127);"><b>Reply-To:<span class="Apple-converted-space"> </span></b></span><span style="font-family: Helvetica;"><a href="mailto:email.rafa@gmail.com">email.rafa@gmail.com</a><br></span></div><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br><br><div class="gmail_quote">On Fri, Jul 4, 2014 at 2:37 PM, Federico Llach<span class="Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:federicollach@gmail.com" target="_blank">federicollach@gmail.com</a>></span><span class="Apple-converted-space"> </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 class=""><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 class="Apple-converted-space"> </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></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-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; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--------</div><div>Dan Wilcox</div><div>@danomatika</div><div><a href="http://danomatika.com">danomatika.com</a></div><div><a href="http://robotcowboy.com">robotcowboy.com</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>