Author Topic: sparkle alpha.6 compile error  (Read 2160 times)

0 Members and 1 Guest are viewing this topic.

Offline myhometalk

  • Jr. Member
  • **
  • Posts: 32
    • View Profile
Its only a dev_tests error - the compiled  sparkle_client will still work

thanks bro.

iHashFury

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

Offline myhometalk

  • Jr. Member
  • **
  • Posts: 32
    • View Profile
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