Rate This Document
Findability
Accuracy
Completeness
Readability

Migrating the Library Using C Language

If the KML_FFT binary dynamic library is obtained, perform the following steps:

  1. Replace the interface with the "fftw" prefix with the "kml_fft" prefix globally, and the interface with the "fftwf" prefix 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>.
  2. Replace -lfftw/-lfftwf with -lkfft/-lkfftf in the compilation options.
  3. Add environment variables. /PATH_TO_KFFT indicates the installation path.
    export LD_LIBRARY_PATH=/PATH_TO_KFFT:$LD_LIBRARY_PATH