1
General Discussion / sparkle alpha.6 compile error
« on: December 09, 2014, 05:03:23 pm »
i got following error while compiling sparkle alpha.6
Code: [Select]
git clone https://github.com/sparkle5/Sparkle.git
cd Sparkle
git checkout alpha.6
git submodule init
git submodule update
cmake .
make
*
In file included from /home/d/Sparkle/tests/dev_tests.cpp:3:0:
/home/d/Sparkle/tests/dev_fixture.hpp: In instantiation of ‘void chain_fixture::produce_block(T) [with T = std::shared_ptr<bts::client::client>]’:
/home/d/Sparkle/tests/dev_tests.cpp:55:25: required from here
/home/d/Sparkle/tests/dev_fixture.hpp:231:59: error: ‘struct bts::blockchain::full_block’ has no member named ‘nonce’
while( b.difficulty() < SPK_MIN_DIFFICULTY ) b.nonce++;
^
make[2]: *** [tests/CMakeFiles/dev_tests.dir/dev_tests.cpp.o] Error 1
make[1]: *** [tests/CMakeFiles/dev_tests.dir/all] Error 2
make: *** [all] Error 2