Closed nsdrozario closed 3 years ago
I solved it by adding the -mavx2
option when compiling, but that begs the question: how can I make a binary that works with all processor architectures? I can't imagine that I could release a binary of a project that only compiles to avx2.
I'm on Clang 11.0.0 on MSYS2 using KFR 4.2.0. I made a minimal test of convolve_filter:
Then I compiled with:
and got this error:
Here is the verbose output:
Currently very confused because the DFT test was working after compiling KFR. I compiled KFR using
-DBUILD_SHARED_LIBS=ON
with cmake if that is important.detect_cpu
said my processor used AVX2, so I'm not sure why it's trying to use the SSE2 namespace. Some insight into this would be very much appreciated.