BitShares Forum

Main => General Discussion => Topic started by: myhometalk on December 09, 2014, 05:03:23 pm

Title: sparkle alpha.6 compile error
Post by: myhometalk 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


Title: Re: sparkle alpha.6 compile error
Post by: iHashFury on December 09, 2014, 05:26:23 pm
Its only a dev_tests error - the compiled  sparkle_client will still work
Title: Re: sparkle alpha.6 compile error
Post by: myhometalk on December 10, 2014, 08:09:26 pm
Its only a dev_tests error - the compiled  sparkle_client will still work

thanks bro.