Closed phlorek closed 1 year ago
I have the same issue...
@durfejs, totally forgot about my issue, but managed to solve it. Include <dft/impl/dft-impl.hpp> as well as <dft/impl/fft-impl.hpp> alongside with a change of compiler (GCC seems to still have some issues) to Clang (I recommend Clang using MSYS2 if you are working on Windows as well - no need for installing additional packages).
@phlorek 👍 that solved the problem
Hello,
I've been trying to implement KFR into my own project which requires FFT usage. I have compiled kfr_dft and included it in CMake:
Minimal reproducable example of my code:
CMake does not flag anything against my syntax however compiling the code results in the error presented in the title of this issue. I've looked through fft.hpp file and dft_initialize does not seem to be linked with its definition in any particular way which would explain the error. I have attempted at linking ftt-templates.hpp into my project, but obviously that did not result in anything in particular since the fft.hpp does not have any #includes to files placed in impl subdirectory of dft directory. Is there a way to fix this issue?
I'm working on Windows using VSCode with GCC compiler. The kfr libs were compiled using Clang
Thank you so much for your help!