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


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to