Post by minitzi on Nov 14, 2017 6:13:42 GMT -6
Hello
Ubuntu 16.04.3 LTS \n \l
I go this error while trying to install Electroneum
[ 58%] Building CXX object tests/core_tests/CMakeFiles/coretests.dir/block_validation.cpp.o
/usr/src/gtest/electroneum-master/tests/core_tests/block_validation.cpp: In function 'bool {anonymous}::lift_up_difficulty(std::vector<boost::variant<cryptonote::block, cryptonote::transaction, cryptonote::account_base, callback_entry, serialized_objectcryptonote::block, serialized_objectcryptonote::transaction, event_visitor_settings> >&, std::vector&, std::vector&, test_generator&, size_t, cryptonote::block, const cryptonote::account_base&)':
/usr/src/gtest/electroneum-master/tests/core_tests/block_validation.cpp:48:85: error: 'DIFFICULTY_TARGET_V1' was not declared in this scope
difficulty_type diffic = next_difficulty(timestamps, cummulative_difficulties,DIFFICULTY_TARGET_V1);
^
/usr/src/gtest/electroneum-master/tests/core_tests/block_validation.cpp: In member function 'bool gen_block_invalid_nonce::generate(std::vector<boost::variant<cryptonote::block, cryptonote::transaction, cryptonote::account_base, callback_entry, serialized_objectcryptonote::block, serialized_objectcryptonote::transaction, event_visitor_settings> >&) const':
/usr/src/gtest/electroneum-master/tests/core_tests/block_validation.cpp:178:81: error: 'DIFFICULTY_TARGET_V1' was not declared in this scope
difficulty_type diffic = next_difficulty(timestamps, commulative_difficulties,DIFFICULTY_TARGET_V1);
^
In file included from /usr/src/gtest/electroneum-master/src/cryptonote_basic/cryptonote_basic.h:47:0,
from /usr/src/gtest/electroneum-master/src/cryptonote_basic/account.h:33,
from /usr/src/gtest/electroneum-master/src/cryptonote_basic/account_boost_serialization.h:33,
from /usr/src/gtest/electroneum-master/tests/core_tests/chaingen.h:47,
from /usr/src/gtest/electroneum-master/tests/core_tests/block_validation.cpp:31:
Can anybody help me please ?
Thanks
Ubuntu 16.04.3 LTS \n \l
I go this error while trying to install Electroneum
[ 58%] Building CXX object tests/core_tests/CMakeFiles/coretests.dir/block_validation.cpp.o
/usr/src/gtest/electroneum-master/tests/core_tests/block_validation.cpp: In function 'bool {anonymous}::lift_up_difficulty(std::vector<boost::variant<cryptonote::block, cryptonote::transaction, cryptonote::account_base, callback_entry, serialized_objectcryptonote::block, serialized_objectcryptonote::transaction, event_visitor_settings> >&, std::vector&, std::vector&, test_generator&, size_t, cryptonote::block, const cryptonote::account_base&)':
/usr/src/gtest/electroneum-master/tests/core_tests/block_validation.cpp:48:85: error: 'DIFFICULTY_TARGET_V1' was not declared in this scope
difficulty_type diffic = next_difficulty(timestamps, cummulative_difficulties,DIFFICULTY_TARGET_V1);
^
/usr/src/gtest/electroneum-master/tests/core_tests/block_validation.cpp: In member function 'bool gen_block_invalid_nonce::generate(std::vector<boost::variant<cryptonote::block, cryptonote::transaction, cryptonote::account_base, callback_entry, serialized_objectcryptonote::block, serialized_objectcryptonote::transaction, event_visitor_settings> >&) const':
/usr/src/gtest/electroneum-master/tests/core_tests/block_validation.cpp:178:81: error: 'DIFFICULTY_TARGET_V1' was not declared in this scope
difficulty_type diffic = next_difficulty(timestamps, commulative_difficulties,DIFFICULTY_TARGET_V1);
^
In file included from /usr/src/gtest/electroneum-master/src/cryptonote_basic/cryptonote_basic.h:47:0,
from /usr/src/gtest/electroneum-master/src/cryptonote_basic/account.h:33,
from /usr/src/gtest/electroneum-master/src/cryptonote_basic/account_boost_serialization.h:33,
from /usr/src/gtest/electroneum-master/tests/core_tests/chaingen.h:47,
from /usr/src/gtest/electroneum-master/tests/core_tests/block_validation.cpp:31:
Can anybody help me please ?
Thanks