Excellent tutorial. I'm able to compile Bitcoin 0.8.6 & 0.9.x based coins without a hassle.
I only have problems trying to compile coins that use scrypt-sse2. It gives me errors each time i try to compile one, i must be overseeing something
I know SSE2 is an instruction set, first i tried it in a VM for a clean working environment and then i tried it on my host just to be sure. Both Win7, VM=x32, host=x64.
My CPU is a Intel Xeon E3 1270 supporting instructions: MMX, SSE, SSE2, SSSE3, SSE4.1, SSE4.2, EM64t, VT-x, AES, AVX.
Can someone take a look and point me in the right direction? This thing has me going for days now
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1188:1: error: inlin
ing failed in call to always_inline '__m128i _mm_srli_epi32(__m128i, int)': targ
et specific option mismatch
_mm_srli_epi32 (__m128i __A, int __B)
^
scrypt-sse2.cpp:62:47: error: called from here
X0 = _mm_xor_si128(X0, _mm_srli_epi32(T, 14));
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
_mm_xor_si128 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:62:48: error: called from here
X0 = _mm_xor_si128(X0, _mm_srli_epi32(T, 14));
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1395:1: error: inlin
ing failed in call to always_inline '__m128i _mm_shuffle_epi32(__m128i, int)': t
arget specific option mismatch
_mm_shuffle_epi32 (__m128i __A, const int __mask)
^
scrypt-sse2.cpp:65:35: error: called from here
X1 = _mm_shuffle_epi32(X1, 0x93);
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1395:1: error: inlin
ing failed in call to always_inline '__m128i _mm_shuffle_epi32(__m128i, int)': t
arget specific option mismatch
_mm_shuffle_epi32 (__m128i __A, const int __mask)
^
scrypt-sse2.cpp:66:35: error: called from here
X2 = _mm_shuffle_epi32(X2, 0x4E);
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1395:1: error: inlin
ing failed in call to always_inline '__m128i _mm_shuffle_epi32(__m128i, int)': t
arget specific option mismatch
_mm_shuffle_epi32 (__m128i __A, const int __mask)
^
^
scrypt-sse2.cpp:67:35: error: called from here
X3 = _mm_shuffle_epi32(X3, 0x39);
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
_mm_add_epi32 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:70:28: error: called from here
T = _mm_add_epi32(X0, X1);
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1139:1: error: inlin
ing failed in call to always_inline '__m128i _mm_slli_epi32(__m128i, int)': targ
et specific option mismatch
_mm_slli_epi32 (__m128i __A, int __B)
^
scrypt-sse2.cpp:71:46: error: called from here
X3 = _mm_xor_si128(X3, _mm_slli_epi32(T, 7));
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
_mm_xor_si128 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:71:47: error: called from here
X3 = _mm_xor_si128(X3, _mm_slli_epi32(T, 7));
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1188:1: error: inlin
ing failed in call to always_inline '__m128i _mm_srli_epi32(__m128i, int)': targ
et specific option mismatch
_mm_srli_epi32 (__m128i __A, int __B)
^
scrypt-sse2.cpp:72:47: error: called from here
X3 = _mm_xor_si128(X3, _mm_srli_epi32(T, 25));
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
_mm_xor_si128 (__m128i __A, __m128i __B)
^
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
_mm_add_epi32 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:73:28: error: called from here
T = _mm_add_epi32(X3, X0);
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1139:1: error: inlin
ing failed in call to always_inline '__m128i _mm_slli_epi32(__m128i, int)': targ
et specific option mismatch
_mm_slli_epi32 (__m128i __A, int __B)
^
scrypt-sse2.cpp:74:46: error: called from here
X2 = _mm_xor_si128(X2, _mm_slli_epi32(T, 9));
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
_mm_xor_si128 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:74:47: error: called from here
X2 = _mm_xor_si128(X2, _mm_slli_epi32(T, 9));
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1188:1: error: inlin
ing failed in call to always_inline '__m128i _mm_srli_epi32(__m128i, int)': targ
et specific option mismatch
_mm_srli_epi32 (__m128i __A, int __B)
^
scrypt-sse2.cpp:75:47: error: called from here
X2 = _mm_xor_si128(X2, _mm_srli_epi32(T, 23));
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
_mm_xor_si128 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:75:48: error: called from here
X2 = _mm_xor_si128(X2, _mm_srli_epi32(T, 23));
^
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
_mm_add_epi32 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:73:28: error: called from here
T = _mm_add_epi32(X3, X0);
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1139:1: error: inlin
ing failed in call to always_inline '__m128i _mm_slli_epi32(__m128i, int)': targ
et specific option mismatch
_mm_slli_epi32 (__m128i __A, int __B)
^
scrypt-sse2.cpp:74:46: error: called from here
X2 = _mm_xor_si128(X2, _mm_slli_epi32(T, 9));
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
_mm_xor_si128 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:74:47: error: called from here
X2 = _mm_xor_si128(X2, _mm_slli_epi32(T, 9));
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1188:1: error: inlin
ing failed in call to always_inline '__m128i _mm_srli_epi32(__m128i, int)': targ
et specific option mismatch
_mm_srli_epi32 (__m128i __A, int __B)
^
scrypt-sse2.cpp:75:47: error: called from here
X2 = _mm_xor_si128(X2, _mm_srli_epi32(T, 23));
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1266:1: error: inlin
ing failed in call to always_inline '__m128i _mm_xor_si128(__m128i, __m128i)': t
arget specific option mismatch
_mm_xor_si128 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:75:48: error: called from here
X2 = _mm_xor_si128(X2, _mm_srli_epi32(T, 23));
^
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
_mm_add_epi32 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:89:31: error: called from here
B[0] = _mm_add_epi32(B[0], X0);
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
_mm_add_epi32 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:90:31: error: called from here
B[1] = _mm_add_epi32(B[1], X1);
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
_mm_add_epi32 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:91:31: error: called from here
B[2] = _mm_add_epi32(B[2], X2);
^
In file included from scrypt-sse2.cpp:36:0:
c:/MinGW/lib/gcc/i686-w64-mingw32/4.9.1/include/emmintrin.h:1019:1: error: inlin
ing failed in call to always_inline '__m128i _mm_add_epi32(__m128i, __m128i)': t
arget specific option mismatch
_mm_add_epi32 (__m128i __A, __m128i __B)
^
scrypt-sse2.cpp:92:31: error: called from here
B[3] = _mm_add_epi32(B[3], X3);
^
make[3]: *** [scrypt-sse2.o] Error 1
make[3]: Leaving directory `/c/temp/DigiByteProject-master/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/temp/DigiByteProject-master/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/c/temp/DigiByteProject-master/src'
make: *** [all-recursive] Error 1