sparkle alpha.6 compile error

Started by myhometalk, December 09, 2014, 05:03:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

myhometalk

Quote from: iHashFury on December 09, 2014, 05:26:23 PM
Its only a dev_tests error - the compiled  sparkle_client will still work

thanks bro.

iHashFury

Its only a dev_tests error - the compiled  sparkle_client will still work

myhometalk

i got following error while compiling sparkle alpha.6




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