[PD] constantq~ - Thomas Grill

Federico Llach via Pd-list pd-list at lists.iem.at
Fri Jul 4 21:37:01 CEST 2014


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).

However, when I try to create the constantq~ object in Pd-extended I
receive:

/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
  Referenced from:
/Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/constantq~/constantq~.pd_darwin
  Reason: no suitable image found.  Did find:
/usr/local/lib/libfftw3f.3.dylib: mach-o, but wrong architecture
/usr/local/lib/libfftw3f.3.dylib: mach-o, but wrong architecture

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
https://github.com/Homebrew/homebrew/blob/master/Library/Formula/fftw.rb .
When that didn't work I uninstalled and just used "brew install fftw", with
same results. Terminal session of this attached.

I found this thread from this mailing list on "Wrong architecture" issues:
http://lists.puredata.info/pipermail/pd-list/2011-04/088265.html

Any thoughts?

Thanks!

Federico Llach

+1 (805) 636-4307 <%28805%29%20636-4307>
Composer, Double Bass player
www.federicollach.com
[image: Inline image 2]
Artistic Director
www.nowhearensemble.com






On Fri, Jul 4, 2014 at 10:15 AM, Rafael Vega <email.rafa at gmail.com> wrote:

> Maybe try to install the library with homebrew?  http://brew.sh/
>
>
> On Fri, Jul 4, 2014 at 12:04 PM, Federico Llach via Pd-list <
> pd-list at lists.iem.at> wrote:
>
>> Hi Thomas,
>>
>> Ooops, here it is attached.
>>
>> Thanks,
>>
>>  Federico Llach
>>
>> +1 (805) 636-4307 <%28805%29%20636-4307>
>> Composer, Double Bass player
>> www.federicollach.com
>> [image: Inline image 2]
>> Artistic Director
>> www.nowhearensemble.com
>>
>>
>>
>>
>>
>> On Fri, Jul 4, 2014 at 2:28 AM, Thomas Grill <gr at grrrr.org> wrote:
>>
>>> Sorry, can’t find the terminal output. gr~~~
>>>
>>> Am 04.07.2014 um 08:03 schrieb Federico Llach <federicollach at gmail.com>:
>>>
>>> Indeed, the ./configure --help gave some options, one of which was
>>> ./configure --enable-single
>>> But no luck with this one either...
>>> Any other clues?
>>> I attach my Terminal session—for ease of reading I've bolded my inputs.
>>>
>>> Thanks!
>>>
>>> Federico Llach
>>>
>>> +1 (805) 636-4307 <%28805%29%20636-4307>
>>> Composer, Double Bass player
>>> www.federicollach.com
>>> <Now Hear Header signature 140px.jpg>
>>> Artistic Director
>>> www.nowhearensemble.com
>>>
>>>
>>>
>>>
>>> On Thu, Jul 3, 2014 at 1:37 PM, Thomas Grill <gr at grrrr.org> wrote:
>>>
>>>> Hi Frederico,
>>>> please note that libfftw3f.dylib refers to the single precision version
>>>> of the FFTW3 library.
>>>> As far as i remember, this needs to be explicitly specified when
>>>> running ./configure , e.g. by using some flag like --single. See
>>>> ./configure --help
>>>> gr~~~
>>>>
>>>> --
>>>> Thomas Grill
>>>> http://grrrr.org
>>>>
>>>>
>>>>
>>>> Am 02.07.2014 um 16:26 schrieb Federico Llach <federicollach at gmail.com
>>>> >:
>>>>
>>>> Hi Thomas,
>>>>
>>>> No, I don't have that file in that folder! I'll look at the FAQ for
>>>> Installation, but I can say sometimes there are terms I don't understand.
>>>> Any suggestions that come to mind?
>>>>
>>>> Thanks,
>>>>
>>>> Federico Llach
>>>>
>>>> +1 (805) 636-4307 <%28805%29%20636-4307>
>>>> Composer, Double Bass player
>>>> www.federicollach.com
>>>> <Now Hear Header signature 140px.jpg>
>>>> Artistic Director
>>>> www.nowhearensemble.com
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Jul 2, 2014 at 5:52 AM, Thomas Grill <gr at grrrr.org> wrote:
>>>>
>>>>> Hi Frederico,
>>>>> the question is now: do you have a
>>>>> file /usr/local/lib/libfftw3f.3.dylib or not?
>>>>> If not, the installation of fftw3 was not successful.
>>>>> gr~~~
>>>>>
>>>>> Am 02.07.2014 um 07:16 schrieb Federico Llach via Pd-list <
>>>>> pd-list at lists.iem.at>:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> I am new to this list. I am trying to use the Thomas Grill's
>>>>> constantq~ but I'm not being successful.
>>>>>
>>>>> I am on Mac OS Snow Leopard 10.6.8. I have downloaded the
>>>>> constantq~-pd_darwin from http://grrrr.org/data/dev/ext/macos/pd/ and
>>>>> dropped it within the Pd-extended path
>>>>> at /Applications/Pd-extended.app/Contents/Resources/extra/constantq~
>>>>>
>>>>> When I try to put a constantq~ object in Pd-extended I get the
>>>>> following error:
>>>>>
>>>>> /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
>>>>>   Referenced from:
>>>>> /Applications/Pd-extended.app/Contents/Resources/Scripts/../extra/constantq~/constantq~.pd_darwin
>>>>>   Reason: image not found
>>>>>  constantq~
>>>>> ... couldn't create
>>>>>
>>>>> It seems I should install libfftw3f.3.dylib (?)
>>>>>
>>>>> I tried to do so by downloading the file fftw-3.3.4.tar.gz
>>>>> <http://fftw.org/fftw-3.3.4.tar.gz> at http://fftw.org/download.html
>>>>> and following the three step installation in Terminal (./configure, make,
>>>>> make install) and it looked like it was installing things—although I got
>>>>> some error messages—so I restarted Pd-extended and tried to create the
>>>>> constantq~ object again, only to obtain the same error message.
>>>>>
>>>>> Any help on this Thomas—or someone else?
>>>>>
>>>>> Thanks!
>>>>>
>>>>>  Federico Llach
>>>>>
>>>>> +1 (805) 636-4307 <%28805%29%20636-4307>
>>>>> Composer, Double Bass player
>>>>> www.federicollach.com
>>>>> <Now Hear Header signature 140px.jpg>
>>>>> Artistic Director
>>>>> www.nowhearensemble.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>  _______________________________________________
>>>>> Pd-list at lists.iem.at mailing list
>>>>> UNSUBSCRIBE and account-management ->
>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
>
> --
> Rafael Vega
> email.rafa at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140704/d4f4b509/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Now Hear Header signature 140px.jpg
Type: image/jpeg
Size: 19947 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140704/d4f4b509/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fftw3 installation attempt with Homebrew.rtf
Type: application/rtf
Size: 1977 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140704/d4f4b509/attachment-0001.rtf>


More information about the Pd-list mailing list