How to enable neon intrinsics in GLM?

I’ve used locally #define GLM_FORCE_NEON before glm includes
and now I have the error
#error “NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard”

does anybody know how to enable this? thank you

PS: XCode and apple m1 here

were you able to fix this?
Seems to be related to the compilation isntructions rather than GLM itself.
I would try adding eny of those directives in Xcode, Build Settings > Other C++ Flags

Some links that might have useful stuff.

2 Likes