wirehair
wirehair copied to clipboard
Is there a way to run on the arm architecture?
Thank you for sharing a good implementation. I try to compile the code on the raspberry but I get: "fatal error: tmmintrin.h: No such file or directory" in gf256.h. Is it possible to encode and decoder blocks on the arm architecture? Thanks!
On Raspbian OS you are very limited. It's 32-bit and doesn't support ARM NEON by default. If you switch to a 64-bit OS when setting up the SD card it should work better. I don't have experience with 64-bit OS but this might help:
https://www.raspberrypi.org/forums/viewtopic.php?t=275370
You may need to add some more defines to this line in gf256.h:
#if defined(ANDROID) || defined(IOS) || defined(LINUX_ARM) || defined(powerpc) || defined(s390) #define GF256_TARGET_MOBILE #endif // ANDROID