haven icon indicating copy to clipboard operation
haven copied to clipboard

make do_send_money error

Open shenol opened this issue 6 years ago • 1 comments

[ 78%] Building CXX object tests/functional_tests/CMakeFiles/functional_tests.dir/transactions_flow_test.cpp.o /home/miner/haven/tests/functional_tests/transactions_flow_test.cpp: In function ‘bool do_send_money(tools::wallet2&, tools::wallet2&, size_t, uint64_t, cryptonote::transaction&, size_t)’: /home/miner/haven/tests/functional_tests/transactions_flow_test.cpp:88:92: error: no matching function for call to ‘tools::wallet2::create_transactions_2(std::vectorcryptonote::tx_destination_entry&, size_t&, int, int, std::vector, int, )’ ptx = w1.create_transactions_2(dsts, mix_in_factor, 0, 0, std::vector<uint8_t>(), 0, {}); ^ In file included from /home/miner/haven/tests/functional_tests/transactions_flow_test.cpp:37:0: /home/miner/haven/src/wallet/wallet2.h:658:38: note: candidate: std::vectortools::wallet2::pending_tx tools::wallet2::create_transactions_2(std::vectorcryptonote::tx_destination_entry, size_t, uint64_t, uint32_t, const std::vector&, uint32_t, std::set, bool) std::vectorwallet2::pending_tx create_transactions_2(std::vectorcryptonote::tx_destination_entry dsts, const size_t fake_outs_count, const uint64_t unlock_time, uint32_t priority, const std::vector<uint8_t>& extra, uint32_t subaddr_account, std::set<uint32_t> subaddr_indices, bool trusted_daemon); // pass subaddr_indices by value on purpose

shenol avatar Jan 02 '19 14:01 shenol

You must be trying to compile from a cloned copy. Download the 3.1.0 from releases and unpack the repo. Compiles perfectly. The cloned version has some older files that won't compile

nbourbaki909 avatar Jan 11 '19 03:01 nbourbaki909