Install Wallet on Ubuntu 16.04.3 - bitcoin-black-bcb/btcb GitHub Wiki
Notes
- This documentation is intended only for developers of the Btcb Node software, and will not result in a supported configuration. End-users are advised to use releases.
- Using docker has been recommended as a faster method of installation: https://github.com/btcbcurrency/btcb-node/wiki/Docker-node
Install dependencies
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git cmake g++ curl wget
Build Boost 1.67.0
wget -O boost_1_67_0.tar.gz https://netix.dl.sourceforge.net/project/boost/boost/1.67.0/boost_1_67_0.tar.gz
tar xzvf boost_1_67_0.tar.gz
cd boost_1_67_0
./bootstrap.sh --with-libraries=filesystem,log,program_options,thread
./b2 --prefix=../[boost] link=static install
cd ..
Install QT5
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
Build btcb_wallet
git clone --recursive https://github.com/btcbcurrency/btcb-node.git btcb_build
cd btcb_build
git submodule update --init --recursive
cmake -G "Unix Makefiles" -DBTCB_GUI=ON -DBOOST_ROOT=../[boost]/
make btcb_wallet
cp btcb_wallet ../btcb_wallet && cd ..
Run btcb_wallet
./btcb_wallet
Troubleshooting
- This application failed to start because it could not find or load the Qt platform plugin "xcb".
If you get this error, make sure you have QT5 installed. If it's installed, locate the file 'libqxcb.so' on your system and then tell btcb_wallet where this file can be found (set it to the 'plugins' directory).
locate libqxcb.so
# returns /usr/lib/qt/plugins/platforms/libqxcb.so or something similar
export QT_PLUGIN_PATH=/usr/lib/qt/plugins
btcb_wallet
If you don't want to run this each time you can setup an alias to do this for you:
echo 'alias btcb_wallet="QT_PLUGIN_PATH=/usr/lib/qt/plugins btcb_wallet"' >> ~/.bashrc
source ~/.bashrc
- Error starting btcb exception while running wallet: No such node (Wallet)
If you get this error, it might be related to pre-existing configuration file issues on your system. You can try the following to generate a fresh configuration (your existing/older configuration will be under ~/Btcb.old). Please be careful with the following if you already run a wallet, as these details will be forgotten by the btcb_wallet due to starting with a fresh configuration:
mv ~/Btcb{,.old}
btcb_wallet
- Wallet crashes with an
Aborted (core dumped)
error
This may be related to a display issue. Try setting the environment variable GDK_BACKEND=x11
before running btcb_wallet.
GDK_BACKEND=x11 ./btcb_wallet