BinomialLLC / basis_universal

Basis Universal GPU Texture Codec
Apache License 2.0
2.7k stars 263 forks source link

Error when I cross compile for arm64 under Windows #361

Open jimwang118 opened 1 year ago

jimwang118 commented 1 year ago

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xmmintrin.h(27): fatal error C1189: #error: This header is specific to X86, X64, ARM64, and ARM64EC targets

richgel999 commented 10 months ago

I think the only file (of ours) that would include this is in basisu_kernals_sse.cpp. Can you try setting BASISU_SUPPORT_SSE to 0 and building again?

jimwang118 commented 10 months ago

I think the only file (of ours) that would include this is in basisu_kernals_sse.cpp. Can you try setting BASISU_SUPPORT_SSE to 0 and building again?

Setting BASISU_SUPPORT_SSE to 0 still gives the same error.