Next: Using Plans, Previous: FFTW Reference, Up: FFTW Reference
All programs using FFTW should include its header file:
#include <fftw3.h>
You must also link to the FFTW library. On Unix, this means adding -lfftw3 -lm at the end of the link command.
-lfftw3 -lm