FFTW / fftw3

DO NOT CHECK OUT THESE FILES FROM GITHUB UNLESS YOU KNOW WHAT YOU ARE DOING. (See below.)
GNU General Public License v2.0
2.73k stars 665 forks source link

Behavior when BUILD_FLOAT on and BUILD_SHARED_LIBS off #237

Open xidang opened 3 years ago

xidang commented 3 years ago

When I compiled fftw3 using cmake in mingw64 environment, i set ENABLE_FLOAT on and BUILD_SHAREDLIBS off and got a libfftw3f.a finally. it works fine under mingw64 environment. When I linked it under msvc, the fftw prefix functions still work and I could get right FFT results at double precision. But linking the fftwf_ prefix functions result in undefined reference errors as expected. I am confused about the reason of this kind of behavior. Is it a desired characteristic?

sindre-nistad commented 10 months ago

I've observed the same behaviour on macOS (Apple Silicon), using clang