A lot of compiler errors of the same type within one file:
src\core\transform\ojph_transform_avx512.cpp(228,23): error : always_inline function '_mm512_set1_ps' requires target feature 'avx512f', but would be inlined into function 'avx512_irv_vert_step' that is compiled without support for 'avx512f'
228 | __m512 factor = _mm512_set1_ps(a);
| ^
I used OJPH_DISABLE_AVX512=ON for now, it compiles fine. It's sorta ok as don't have AVX512 on my CPU, but I believe the library should compile cleanly to use runtime dispatching on CPUs with AVX512.
LLVM 22.1.8, I use -flto -mavx2 among others, but this shouldn't have any impact on the mentioned file.
zlib-ng also compiles with AVX512 support by default, but doesn't have any build issues.
A lot of compiler errors of the same type within one file:
I used
OJPH_DISABLE_AVX512=ONfor now, it compiles fine. It's sorta ok as don't have AVX512 on my CPU, but I believe the library should compile cleanly to use runtime dispatching on CPUs with AVX512.LLVM 22.1.8, I use
-flto -mavx2among others, but this shouldn't have any impact on the mentioned file.zlib-ng also compiles with AVX512 support by default, but doesn't have any build issues.