cryptonotefoundation / cryptonotewallet

83 stars 634 forks source link

trying to compile Wallet GUI - error during make 83% #27

Open falky64 opened 6 years ago

falky64 commented 6 years ago

Hello, hopefully someone can help, i get this error after compiling the Wallet GUI on a Ubuntu 64bit. Unfortunately I don't know what function it's trying to do or look for once it gets to 83% then comes up with errors and fails.

cryptonotewallet/src/CryptoNoteWrapper.cpp: In member function ‘virtual CryptoNote::IWalletLegacy* WalletGui::RpcNode::createWallet()’: cryptonotewallet/src/CryptoNoteWrapper.cpp:127:59: error: no matching function for call to ‘CryptoNote::WalletLegacy::WalletLegacy(const CryptoNote::Currency&, CryptoNote::NodeRpcProxy&)’ return new CryptoNote::WalletLegacy(m_currency, m_node);

falky64 commented 6 years ago

What is the Cryptonote Wrapper and why isn't it compiling my wallet GUI? [ 85%] Building CXX object CMakeFiles/MyCoin.dir/src/CryptoNoteWrapper.cpp.o cryptonotewallet/src/CryptoNoteWrapper.cpp: In member function ‘virtual CryptoNote::IWalletLegacy* WalletGui::RpcNode::createWallet()’: cryptonotewallet/src/CryptoNoteWrapper.cpp:127:59: error: no matching function for call to ‘CryptoNote::WalletLegacy::WalletLegacy(const CryptoNote::Currency&, CryptoNote::NodeRpcProxy&)’ return new CryptoNote::WalletLegacy(m_currency, m_node); ^ In file included from cryptonotewallet/src/CryptoNoteWrapper.cpp:16:0: cryptonotewallet/cryptonote/src/WalletLegacy/WalletLegacy.h:65:3: note: candidate: CryptoNote::WalletLegacy::WalletLegacy(const CryptoNote::Currency&, CryptoNote::INode&, Logging::ILogger&) WalletLegacy(const CryptoNote::Currency& currency, INode& node, Logging::ILog ^ cryptonotewallet/cryptonote/src/WalletLegacy/WalletLegacy.h:65:3: note: candidate expects 3 arguments, 2 provided cryptonotewallet/src/CryptoNoteWrapper.cpp: In constructor ‘WalletGui::InprocessNode::InprocessNode(const CryptoNote::Currency&, Logging::LoggerManager&, const CryptoNote::CoreConfig&, const CryptoNote::NetNodeConfig&, WalletGui::INodeCallback&)’: cryptonotewallet/src/CryptoNoteWrapper.cpp:159:37: error: no matching function for call to ‘CryptoNote::core::core(const CryptoNote::Currency&, CryptoNote::CryptoNoteProtocolHandler*, Logging::LoggerManager&)’ m_node(m_core, m_protocolHandler) { ^ In file included from cryptonotewallet/src/CryptoNoteWrapper.cpp:12:0: cryptonotewallet/cryptonote/src/CryptoNoteCore/Core.h:48:6: note: candidate: CryptoNote::core::core(const CryptoNote::Currency&, CryptoNote::i_cryptonote_protocol*, Logging::ILogger&, bool) core(const Currency& currency, i_cryptonote_protocol* pprotocol, Logging:: ^ cryptonotewallet/cryptonote/src/CryptoNoteCore/Core.h:48:6: note: candidate expects 4 arguments, 3 provided cryptonotewallet/src/CryptoNoteWrapper.cpp: In member function ‘virtual CryptoNote::IWalletLegacy* WalletGui::InprocessNode::createWallet()’: cryptonotewallet/src/CryptoNoteWrapper.cpp:228:59: error: no matching function for call to ‘CryptoNote::WalletLegacy::WalletLegacy(const CryptoNote::Currency&, CryptoNote::InProcessNode&)’ return new CryptoNote::WalletLegacy(m_currency, m_node); ^ In file included from cryptonotewallet/src/CryptoNoteWrapper.cpp:16:0: cryptonotewallet/cryptonote/src/WalletLegacy/WalletLegacy.h:65:3: note: candidate: CryptoNote::WalletLegacy::WalletLegacy(const CryptoNote::Currency&, CryptoNote::INode&, Logging::ILogger&) WalletLegacy(const CryptoNote::Currency& currency, INode& node, Logging::ILog ^ cryptonotewallet/cryptonote/src/WalletLegacy/WalletLegacy.h:65:3: note: candidate expects 3 arguments, 2 provided CMakeFiles/MyCoin.dir/build.make:280: recipe for target 'CMakeFiles/MyCoin.dir/src/CryptoNoteWrapper.cpp.o' failed make[2]: *** [CMakeFiles/MyCoin.dir/src/CryptoNoteWrapper.cpp.o] Error 1 CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/MyCoin.dir/all' failed make[1]: *** [CMakeFiles/MyCoin.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2