Got the following error trying to build on win32 - any suggestions?
mingw32-make[2]: Entering directory 'c:/ewb/HODLCoin/src'
CXX libbitcoin_crypto_x86_a-sha512.o
sha512.cpp: In function 'void sha512Compute32b_parallel(uint64_t**, uint64_t**)':
sha512.cpp:122:60: error: 'htobe64' was not declared in this scope
context[0].w[15] = _mm256_set1_epi64x(htobe64(totalSize));
^
sha512.cpp:138:63: error: '_mm256_extract_epi64' was not declared in this scope
digest[0]
= _mm256_extract_epi64(context[0].h, 0);
^
sha512.cpp: In function 'void sha512ProcessBlock(Sha512Context*)':
sha512.cpp:21:90: error: 'ulong' was not declared in this scope
#define ROR64(a, n) _mm256_or_si256(_mm256_srli_epi64(a, n), _mm256_slli_epi64(a, sizeof(ulong)*8 - n))
^
sha512.cpp:16:20: note: in expansion of macro 'ROR64'
#define SIGMA2(x) (ROR64(x, 14) ^ ROR64(x, 18) ^ ROR64(x, 41))
^
sha512.cpp:155:20: note: in expansion of macro 'SIGMA2'
T0 += (h[0]) + SIGMA2(e[0]) + Ch((e[0]), (f[0]), (g[0])) + k; \
^
sha512.cpp:166:5: note: in expansion of macro 'ROUND512'
ROUND512(a,b,c,d,e,f,g,h)
^
sha512.cpp:174:5: note: in expansion of macro 'ROUND512_0_TO_15'
ROUND512_0_TO_15(a, b, c, d, e, f, g, h); \
^
sha512.cpp:215:5: note: in expansion of macro 'R512_0'
R512_0; R512_0;
^
makefile:3508: recipe for target 'libbitcoin_crypto_x86_a-sha512.o' failed
I faced them when compiled hodlminer

for this
sha512.cpp:122:60: error: 'htobe64' was not declared in this scope
context[0].w[15] = _mm256_set1_epi64x(htobe64(totalSize));
I put implementaion of the function
htobe64this error
sha512.cpp:21:90: error: 'ulong' was not declared in this scope
I fixed by putting
typedef uint64_t ulong
and for this error
sha512.cpp:138:63: error: '_mm256_extract_epi64' was not declared in this scope
I guess you need to install some dependencies, I haven't faced this