[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] fftw
Just out of curiosity, what are you building? Because a port of the
pvoc stretch utility would be awesome... (http://quitte.de/dsp/
On Nov 5, 2006, at 4:15 AM, Nick Collins wrote:
Thanks for the advice. After trying to fix this this morning, I
realised that I was trying to port some code which required the
building of fftw with a special configure option
./configure --enable-shared --enable-float
(to create the dynamic and float version of fftw, rather than
Which explains why those particular fftwf functions weren't being
found in linking before. Now it works!
I won't use the universal framework since I'd eventually like to
build distributable plug-ins. Anyway, I can now get on with
On 4 Nov 2006, at 20:40, Ryan Brown wrote:
I just created a test UGen using fftw and got it compiling. How
did you add libfftw3.a to your plugin target? You should drag it
into the Frameworks folder first (not in targets), then once it's
there drag it into the "Link Binary With Libraries" node for your
plugin. I don't know what plugin target you used as a template for
creating yours, but if the target is setup to build universally
then you'll see those messages unless libfftw if built universally
as well. Could you include the entire compilation log (after
cleaning your target)?
Also, if you just want to mess around without worrying about the
linking crap, someone packaged up libfftw as a universal framework:
I wouldn't use this in a UGen you give to others though because
they will have to d/l and install the framework as well.
On Nov 4, 2006, at 7:28 AM, Nick Collins wrote:
I've been trying to play around with fftw3 a bit, on OS X, but
now running into linking difficulties in Xcode. I've installed
fftw, and can successfully #include <fftw3.h>. But on compilation
of a plug-in, failure to link:
Undefined symbols: _fftwf_destroy_plan _fftwf_free _fftwf_malloc
I have included the framework libfftw3.a into the plug-in target,
and it exists at /usr/local/lib as standard (I believe it's a
static library by default).
Anyone with advice or overcome similar obstacles?
I searched list archives and made my way through some confusing
online material first, so I'd appreciate a clear straight answer.
I'm probably doing something naive somewhere.
Send instant messages to your online friends http://
sc-dev mailing list
Yahoo! Mail – Tired of Vi@gr@! come-ons? Let our SpamGuard protect
sc-dev mailing list