Nick,
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:
http://www.kyngchaos.com/software/unixport/frameworks
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.
Ryan
On Nov 4, 2006, at 7:28 AM, Nick Collins wrote:
Dear all,
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
_fftwf_plan_r2r_1d
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.
best,
Nick
Send instant messages to your online friends http://
uk.messenger.yahoo.com
_______________________________________________
sc-dev mailing list
sc-dev@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev