Direct Migration
- Globally, replace the interface prefix fftw with the kml_fft prefix and the interface prefix fftwf with the kml_fftf prefix. If the macro definition constant defined in the FFTW header file is used, replace the FFTW prefix with the KML_FFT prefix. Replace #include <fftw.h> with #include <kfft.h>.
- Replace -lfftw/-lfftwf with -lkfft/-lkfftf in the compilation options.
- Add environment variables. /PATH_TO_KFFT indicates the KML_FFT installation path.
export LD_LIBRARY_PATH=/PATH_TO_KFFT:$LD_LIBRARY_PATH
Parent topic: Migrating the Library Using C Language