[PD-dev] myfft~.c:2:10: fatal error: fftw3.h: No such file or directory

IOhannes m zmoelnig zmoelnig at iem.at
Wed Oct 18 12:11:56 CEST 2023


On 10/18/23 08:41, Alexandros Drymonitis wrote:
> OK, it's using the d_fft_fftsg.c file instead, if not compiled with the 
> FFTW3 library then. Got that. I made this little external, and it seems 
> to work (with a fixed FFT size, but I don't really care for now), still 
> I'm including the code here. I'd be grateful if someone can take a look 
> and verify it's OK.
> 
> I have copied the d_fft_fftsg.c file to the directory of my external and 
> renamed it to pd_fft.h, which I'm including in my file (I commented out 

do not do that.

you are breeding symbol clashes and what not.

otoh, 'mayer_fft()' and friends are exported by Pd anyhow (and are 
declared in m_pd.h), so you can just use them.

dgfs,ma
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20231018/7e88e2bd/attachment.sig>


More information about the Pd-dev mailing list