wirehair icon indicating copy to clipboard operation
wirehair copied to clipboard

Is there a way to run on the arm architecture?

Open MapleStory1994 opened this issue 4 years ago • 2 comments

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!

MapleStory1994 avatar Dec 05 '20 14:12 MapleStory1994

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

catid avatar Dec 06 '20 01:12 catid

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

catid avatar Dec 06 '20 01:12 catid