Author Topic: error: 'bts::client::client' has no member named 'wallet_account_set_approval'  (Read 1626 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
+5% for building an aur package

Could you try to only build the daemon without gui and check if thats working?

Pkgbuild looks fibe imho

Offline vertoe

  • Jr. Member
  • **
  • Posts: 30
  • i'm here
    • View Profile
Compiling on ARCHLINUX, I get this:

Code: [Select]
Scanning dependencies of target wallet_tests
[ 98%] Building CXX object tests/CMakeFiles/wallet_tests.dir/wallet_tests.cpp.o
[ 98%] Built target server_node
[ 98%] Building CXX object programs/qt_wallet/CMakeFiles/BitSharesX.dir/Utilities.cpp.o
[ 99%] Building CXX object programs/qt_wallet/CMakeFiles/BitSharesX.dir/MainWindow.cpp.o
/home/joe/Temp/bitshares-x/src/bitsharesx/programs/qt_wallet/ClientWrapper.cpp: In member function 'void ClientWrapper::confirm_and_set_approval(QString, bool)':
/home/joe/Temp/bitshares-x/src/bitsharesx/programs/qt_wallet/ClientWrapper.cpp:187:21: error: 'class bts::client::client' has no member named 'wallet_account_set_approval'
get_client()->wallet_account_set_approval(delegate_name.toStdString(), approve);
^
programs/qt_wallet/CMakeFiles/BitSharesX.dir/build.make:193: recipe for target 'programs/qt_wallet/CMakeFiles/BitSharesX.dir/ClientWrapper.cpp.o' failed
make[2]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/ClientWrapper.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target client_rpc_tests
[ 99%] Building CXX object tests/client_rpc_tests/CMakeFiles/client_rpc_tests.dir/client_rpc_tests.cpp.o
/home/joe/Temp/bitshares-x/src/bitsharesx/programs/qt_wallet/MainWindow.cpp: In member function 'void MainWindow::importWallet()':
/home/joe/Temp/bitshares-x/src/bitsharesx/programs/qt_wallet/MainWindow.cpp:578:38: error: 'class bts::client::client' has no member named 'wallet_backup_restore'
clientWrapper()->get_client()->wallet_backup_restore(walletPath.toStdString(),
^
/home/joe/Temp/bitshares-x/src/bitsharesx/programs/qt_wallet/MainWindow.cpp: In lambda function:
/home/joe/Temp/bitshares-x/src/bitsharesx/programs/qt_wallet/MainWindow.cpp:605:37: error: 'class bts::client::client' has no member named 'wallet_backup_create'
_clientWrapper->get_client()->wallet_backup_create(savePath.toStdString());
^
In file included from /usr/include/boost/test/unit_test.hpp:20:0,
from /home/joe/Temp/bitshares-x/src/bitsharesx/tests/dev_tests.cpp:2:
/home/joe/Temp/bitshares-x/src/bitsharesx/tests/dev_tests.cpp: In member function 'void basic_commands::test_method()':
/home/joe/Temp/bitshares-x/src/bitsharesx/tests/dev_tests.cpp:12:26: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
BOOST_FIXTURE_TEST_CASE( basic_commands, chain_fixture )
^
programs/qt_wallet/CMakeFiles/BitSharesX.dir/build.make:239: recipe for target 'programs/qt_wallet/CMakeFiles/BitSharesX.dir/MainWindow.cpp.o' failed
make[2]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/MainWindow.cpp.o] Error 1
CMakeFiles/Makefile2:1841: recipe for target 'programs/qt_wallet/CMakeFiles/BitSharesX.dir/all' failed
make[1]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX executable dev_tests
Linking CXX executable wallet_tests
Linking CXX executable client_rpc_tests
[ 99%] Built target dev_tests
[ 99%] Built target wallet_tests
[ 99%] Built target client_rpc_tests
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

This is my install script: https://aur.archlinux.org/packages/bi/bitshares-x/PKGBUILD

Any idea what's missing?