Core of Crown blockchain platform. Contribution repository is available by this link: https://gitlab.crownplatform.com/crown/crown-core. Github repository is a mirror.
Which version of Crown are you using? (QT or Daemon) Please include the version number.
0.14.2
Please describe the expected behavior.
To build Crown successfully
Please describe the actual behavior.
Running into dependency issues
In file included from platform/governance-vote.cpp:7:0:
platform/specialtx.h: In instantiation of ‘bool Platform::CheckInputsHashAndSig(const CTransaction&, const SpecialTxPayload&, const CKeyID&, CValidationState&) [with SpecialTxPayload = Platform::VoteTx ’:
platform/governance-vote.cpp:22:61: required from here
platform/specialtx.h:126:17: warning: variable ‘inputsHash’ set but not used [-Wunused-but-set-variab le]
uint256 inputsHash = CalcTxInputsHash(tx);
^
cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default]
CXX platform/libbitcoin_server_a-specialtx.o
In file included from platform/specialtx.cpp:15:0:
platform/nf-token/nf-tokens-manager.h:213:108: error: wrong number of template arguments (2, should b e 5)
using NftIndexRange = boost::any_range<const NfTokenIndex &, boost::bidirectional_traver sal_tag>;
^
In file included from platform/nf-token/nf-tokens-manager.h:10:0,
from platform/specialtx.cpp:15:
/usr/include/boost/range/any_range.hpp:82:15: error: provided for ‘template<class Value, class Traver sal, class Reference, class Difference, class Buffer> class boost::range_detail::any_range’
class any_range
^
In file included from platform/specialtx.cpp:15:0:
platform/nf-token/nf-tokens-manager.h:214:109: error: wrong number of template arguments (2, should b e 5)
using NftIndexForwardRange = boost::any_range<const NfTokenIndex &, boost::forward_trave rsal_tag>;
^
In file included from platform/nf-token/nf-tokens-manager.h:10:0,
from platform/specialtx.cpp:15:
/usr/include/boost/range/any_range.hpp:82:15: error: provided for ‘template<class Value, class Traver sal, class Reference, class Difference, class Buffer> class boost::range_detail::any_range’
class any_range
^
In file included from platform/specialtx.cpp:16:0:
platform/nf-token/nft-protocols-manager.h:105:110: error: wrong number of template arguments (2, shou ld be 5)
using NftProtoIndexRange = boost::any_range<const NftProtoIndex &, boost::bidirectional_trav ersal_tag>;
^
In file included from platform/nf-token/nf-tokens-manager.h:10:0,
from platform/specialtx.cpp:15:
/usr/include/boost/range/any_range.hpp:82:15: error: provided for ‘template<class Value, class Traver sal, class Reference, class Difference, class Buffer> class boost::range_detail::any_range’
class any_range
^
cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default]
make[2]: *** [platform/libbitcoin_server_a-specialtx.o] Error 1
make[2]: Leaving directory `/root/crown-core/src'
make[1]: *** [all-recursive] Error 1
Please answer the following questions.
Which operating system?
CentOS 8
Which version of Crown are you using? (QT or Daemon) Please include the version number.
0.14.2
Please describe the expected behavior.
To build Crown successfully
Please describe the actual behavior.
Running into dependency issues
Any steps to reproduce the behavior?
yum update yum upgrade git clone https://gitlab.crownplatform.com/crown/crown-core.git cd crown-core make -C depends yum install -y autoconf automake boost-devel gcc-c++ git libdb4-cxx libdb4-cxx-devel libevent-devel libtool libcurl-devel openssl-devel ./autogen.sh ./configure --without-miniupnpc --disable-tests --with-gui=no --disable-shared
make