Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to run on the arm architecture? #27

Open
MapleStory1994 opened this issue Dec 5, 2020 · 2 comments
Open

Is there a way to run on the arm architecture? #27

MapleStory1994 opened this issue Dec 5, 2020 · 2 comments

Comments

@MapleStory1994
Copy link

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!

@catid
Copy link
Owner

catid commented Dec 6, 2020

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
Copy link
Owner

catid commented Dec 6, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants