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

Compile on arm #29

Closed
RCasatta opened this issue Feb 16, 2014 · 4 comments
Closed

Compile on arm #29

RCasatta opened this issue Feb 16, 2014 · 4 comments

Comments

@RCasatta
Copy link

i am trying to compile the source on arm achitecture without -msse2 option but i have an error

g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DBOOST_SPIRIT_THREADSAFE -I/home/odroid/yacoin/src -I/home/odroid/yacoin/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/scrypt_mine.d -o obj/scrypt_mine.o scrypt_mine.cpp
scrypt_mine.cpp:32:23: fatal error: xmmintrin.h: No such file or directory
#include <xmmintrin.h>

@yacoin
Copy link
Owner

yacoin commented Mar 20, 2014

Sorry I missed this. Were you able to compile?

@RCasatta
Copy link
Author

No, i didn't.
I think xmmintrin.h it's a specific sse header file (x86 tied) so i can't compile on arm without changes on the code and apparently it's not easy to me.

@yacoin
Copy link
Owner

yacoin commented Apr 3, 2014

I haven't been able to find anything, so I opened a thread here: http://forum.yacoin.org/index.php?topic=628.0

@feldenthorne
Copy link

I just fixed this issue in a Diamond fork, but I only kluged in support for armv7 (rather than all arm processors) because the whole process was pretty confusing. Here's the commit, though, and it should basically be a drop-in solution since your code is pretty similar.

Or just let me know if you'd like me to fork this and try what I suggested. I just don't have a wallet to test this, but I guess I can use the -regtest or -testnet command line options if your clients support them?

@yacoin yacoin closed this as completed Apr 2, 2016
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

3 participants