Source code is available on github:
https://github.com/project-bitmark/bitmark.git
..
I am unable to compile the source under any Debian amd64 version (tried 8 and 9).
On Debian 9 it seems impossible due to too new openssl version with errors like:
...
bignum.h: In function 'bool operator>(const CBigNum&, const CBigNum&)':
bignum.h:594:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument ' ' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)'
inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); }
...
On Debian 8 I can overcome some c11 related errors with:
./autogen.sh && ./configure --with-incompatible-bdb --without-miniupnpc && CXXFLAGS="-std=c++11" make
But then I am stuck with the following compile errors:
In file included from cryptonight/crypto/hash.c:35:0:
cryptonight/crypto/hash-ops.h:65:15: error: expected declaration specifiers or '...' before 'sizeof'
static_assert(sizeof(union hash_state) == 200, "Invalid structure size");
^
cryptonight/crypto/hash-ops.h:65:48: error: expected declaration specifiers or '...' before string constant
static_assert(sizeof(union hash_state) == 200, "Invalid structure size");
^
Makefile:1047: recipe for target 'cryptonight/crypto/hash.o' failed
make[3]: *** [cryptonight/crypto/hash.o] Error 1
Any pointers and hints would be much appreciated. TIA.