[PD] cq2midi – Polyphonic MIDI notes from audio

me.grimm megrimm at gmail.com
Tue Nov 6 22:42:35 CET 2012


> - compile multiple architectures and glue together the resulting dylib using the lipo tool:
>
> CFLAGS="-arch i386" ./configure --enable-float--enable-shared && make && mv .libs/libfftw3f.3.dylib ./libfftw3f.32.dylib
> CFLAGS="-arch x86_64" ./configure --enable-float --enable-shared  && make && mv .libs/libfftw3f.3.dylib ./libfftw3f.64.dylib
> lipo ./libfftw3f.32.dylib ./libfftw3f.64.dylib -output .libs/libfftw3f.3.dylib -create
> sudo make install

hey thomas....

this is all quite helpful stuff! thanks or that!

cheers
m



On Sun, Nov 4, 2012 at 5:07 PM, Thomas Grill <gr at grrrr.org> wrote:
>
> Am 02.11.2012 um 15:13 schrieb me.grimm:
>
>> well this here:
>>
>> /usr/local/lib/libfftw3f.3.dylib
>>
>> doesnt actually exist at all
>>
>> instead its here:
>>
>> /sw/lib/libfftw3f.3.dylib
>>
>> but thats just from the binary you offered and not compiled by me.
>
> just a small note:
> i don't use fink, but it could have the same problems as macports, namely that the shared libraries installed (like e.g. libfftw3f.dylib) only offer the native code model.
> For 64-bit OSX (>= 10.6) this means that 32-bit binaries depending on such libraries can't be loaded.
>
> Therefore it makes sense to compile a multi-architecture version of FFTW3 oneself, for example in the following manner:
>
> - download FFTW 3.3.x from fftw.org and extract the archive
>
> - compile multiple architectures and glue together the resulting dylib using the lipo tool:
>
> CFLAGS="-arch i386" ./configure --enable-float--enable-shared && make && mv .libs/libfftw3f.3.dylib ./libfftw3f.32.dylib
> CFLAGS="-arch x86_64" ./configure --enable-float --enable-shared  && make && mv .libs/libfftw3f.3.dylib ./libfftw3f.64.dylib
> lipo ./libfftw3f.32.dylib ./libfftw3f.64.dylib -output .libs/libfftw3f.3.dylib -create
> sudo make install
>
>
> have fun,
> gr~~~
>
>
> --
> Thomas Grill
> http://grrrr.org
>



-- 
____________________
m.e.grimm | m.f.a | ed.m.
megrimm at gmail.com
_________________________________



More information about the Pd-list mailing list