0 Members and 1 Guest are viewing this topic.
apt-get install qttools5-dev qttools5-dev-tools
Quote from: xeroc on September 23, 2014, 01:31:54 pmIn fact .. it is not so easy to build binaries for linux systems as you need to precompile them for almost each distribution independently .. However, they could publish binaries for at least ubuntuthat's true, the most linux users use Ubuntu or distributions based on Ubuntu (like Mint for example)...the more "advanced" users should not have problems building the wallet visiting https://github.com/dacsunlimited/bitsharesx/blob/master/BUILD_UBUNTU.md for more instructions
In fact .. it is not so easy to build binaries for linux systems as you need to precompile them for almost each distribution independently .. However, they could publish binaries for at least ubuntu
Code: [Select]merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs$ git submodule update error: The following untracked working tree files would be overwritten by checkout: app/css/main.lessPlease move or remove them before you can switch branches.AbortingUnable to checkout '241699f7ce59e63d0d8e15546a6d617ebd18486e' in submodule path 'web_wallet'merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs$ cd web_wallet/merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet$ lsapp config dist generated Gruntfile.js LICENSE.md node_modules package.json README.md reference_app spec spec-e2e tasks vendormerockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet$ cd appmerockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app$ lscss img js pages static templatesmerockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app$ cd css/merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ lsfooter.css forms.css help.css layout.css main.css main.less market.css my-ng-grid.css spinner.css toolbar.cssmerockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ mv main.less ~/main.lessmerockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ lsfooter.css forms.css help.css layout.css main.css market.css my-ng-grid.css spinner.css toolbar.cssmerockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ cd ~/bitsharesx/merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx$ git submodule update Submodule path 'programs/web_wallet': checked out '241699f7ce59e63d0d8e15546a6d617ebd18486e'merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx$ cmake -DINCLUDE_QT_WAALLET=ON .-- Using custom FindBoost.cmake-- Boost version: 1.54.0-- Found the following Boost libraries:-- thread-- date_time-- system-- filesystem-- program_options-- signals-- serialization-- chrono-- unit_test_framework-- context-- locale-- Using custom FindBoost.cmake-- Boost version: 1.54.0-- Found the following Boost libraries:-- coroutine-- Configuring BitShares on Linux-- Using as BerkeleyDB root-- Looking for: db_cxx-6.0-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so-- Found BerkeleyDB: /usr/include -- Configuring project fc located in: /home/merockstar/bitsharesx/libraries/fc-- Configuring fc to build on Unix/Apple-- Using custom FindBoost.cmake-- Boost version: 1.54.0-- Found the following Boost libraries:-- thread-- date_time-- system-- filesystem-- program_options-- signals-- serialization-- chrono-- unit_test_framework-- context-- locale-- iostreams-- coroutine-- Finished fc module configuration...-- Using as BerkeleyDB root-- Looking for: db_cxx-6.0-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so-- Found BerkeleyDB: /usr/include -- Enabling Bitcoin Core Wallet ImportsCMake Error at programs/qt_wallet/CMakeLists.txt:51 (find_package): By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5LinguistTools", but CMake did not find one. Could not find a package configuration file provided by "Qt5LinguistTools" with any of the following names: Qt5LinguistToolsConfig.cmake qt5linguisttools-config.cmake Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or set "Qt5LinguistTools_DIR" to a directory containing one of the above files. If "Qt5LinguistTools" provides a separate development package or SDK, be sure it has been installed.-- Configuring incomplete, errors occurred!See also "/home/merockstar/bitsharesx/CMakeFiles/CMakeOutput.log".I vaguely recall encountering this error before but I couldn't figure out how to fix it.git submodule update wouldn't run until I moved /web_wallet/app/main/main.less somwhere else, then I get this on cmake. I think I have to update something.
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs$ git submodule update error: The following untracked working tree files would be overwritten by checkout: app/css/main.lessPlease move or remove them before you can switch branches.AbortingUnable to checkout '241699f7ce59e63d0d8e15546a6d617ebd18486e' in submodule path 'web_wallet'merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs$ cd web_wallet/merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet$ lsapp config dist generated Gruntfile.js LICENSE.md node_modules package.json README.md reference_app spec spec-e2e tasks vendormerockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet$ cd appmerockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app$ lscss img js pages static templatesmerockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app$ cd css/merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ lsfooter.css forms.css help.css layout.css main.css main.less market.css my-ng-grid.css spinner.css toolbar.cssmerockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ mv main.less ~/main.lessmerockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ lsfooter.css forms.css help.css layout.css main.css market.css my-ng-grid.css spinner.css toolbar.cssmerockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ cd ~/bitsharesx/merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx$ git submodule update Submodule path 'programs/web_wallet': checked out '241699f7ce59e63d0d8e15546a6d617ebd18486e'merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx$ cmake -DINCLUDE_QT_WAALLET=ON .-- Using custom FindBoost.cmake-- Boost version: 1.54.0-- Found the following Boost libraries:-- thread-- date_time-- system-- filesystem-- program_options-- signals-- serialization-- chrono-- unit_test_framework-- context-- locale-- Using custom FindBoost.cmake-- Boost version: 1.54.0-- Found the following Boost libraries:-- coroutine-- Configuring BitShares on Linux-- Using as BerkeleyDB root-- Looking for: db_cxx-6.0-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so-- Found BerkeleyDB: /usr/include -- Configuring project fc located in: /home/merockstar/bitsharesx/libraries/fc-- Configuring fc to build on Unix/Apple-- Using custom FindBoost.cmake-- Boost version: 1.54.0-- Found the following Boost libraries:-- thread-- date_time-- system-- filesystem-- program_options-- signals-- serialization-- chrono-- unit_test_framework-- context-- locale-- iostreams-- coroutine-- Finished fc module configuration...-- Using as BerkeleyDB root-- Looking for: db_cxx-6.0-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so-- Found BerkeleyDB: /usr/include -- Enabling Bitcoin Core Wallet ImportsCMake Error at programs/qt_wallet/CMakeLists.txt:51 (find_package): By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5LinguistTools", but CMake did not find one. Could not find a package configuration file provided by "Qt5LinguistTools" with any of the following names: Qt5LinguistToolsConfig.cmake qt5linguisttools-config.cmake Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or set "Qt5LinguistTools_DIR" to a directory containing one of the above files. If "Qt5LinguistTools" provides a separate development package or SDK, be sure it has been installed.-- Configuring incomplete, errors occurred!See also "/home/merockstar/bitsharesx/CMakeFiles/CMakeOutput.log".
Quote from: maqifrnswa on September 20, 2014, 02:14:12 amQuote from: merockstar on September 20, 2014, 12:57:50 ami used buildweb, what's the diff? should I recompile?buildweb only works if you have never built the qt wallet before. If you rebuild the qt wallet, you have to do forcebuildweb otherwise it will never update the user interface in the qt wallet.okay so that builds the web wallet (which the qt client uses to display the interface).and I'm fine now even though I didn't use forcebuildweb because the GUI likely hasn't changed since I last compiled.however, in the future I'll want to use forcebuildweb to make sure that any gui changes get used.I understand?
Quote from: merockstar on September 20, 2014, 12:57:50 ami used buildweb, what's the diff? should I recompile?buildweb only works if you have never built the qt wallet before. If you rebuild the qt wallet, you have to do forcebuildweb otherwise it will never update the user interface in the qt wallet.
i used buildweb, what's the diff? should I recompile?
probably should be updated to the new build targetsCode: [Select]git pullgit checkout v0.4.16-RC1git submodule initgit submodule updategit cmake -DINCLUDE_QT_WALLET=ON .make bitshares_clientmake forcebuildwebmake BitSharesXnote: make forcebuildweb is different
git pullgit checkout v0.4.16-RC1git submodule initgit submodule updategit cmake -DINCLUDE_QT_WALLET=ON .make bitshares_clientmake forcebuildwebmake BitSharesX
git pullgit checkout v0.4.16-RC1git submodule initgit submodule updategit cmake -DINCLUDE_QT_WALLET=ON .make bitshares_clientmake buildwebmake BitSharesX
[ 92%] Building CXX object programs/utils/web_update_utility/CMakeFiles/web_update_utility.dir/main.cpp.oIn file included from /home/merockstar/bitsharesx/programs/utils/web_update_utility/main.cpp:1:0:/home/merockstar/bitsharesx/programs/utils/web_update_utility/update_utility.hpp:5:26: fatal error: WebUpdates.hpp: No such file or directory #include <WebUpdates.hpp> ^compilation terminated.make[2]: *** [programs/utils/web_update_utility/CMakeFiles/web_update_utility.dir/main.cpp.o] Error 1make[1]: *** [programs/utils/web_update_utility/CMakeFiles/web_update_utility.dir/all] Error 2make: *** [all] Error 2
Code: [Select]merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx$ git pull https://github.com/dacsunlimited/bitsharesx.git 0.4.15-afatal: Couldn't find remote ref 0.4.15-aUnexpected end of command streamI haven't been able to upgrade for a few versions now.
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx$ git pull https://github.com/dacsunlimited/bitsharesx.git 0.4.15-afatal: Couldn't find remote ref 0.4.15-aUnexpected end of command stream
There is a guide for building qt_wallet of BitSharesX in ubuntu 14.04 here. However, it's in chinese. So I roughly translate it as the following:1. Install necessary packages:Code: [Select]$sudo apt-get update$sudo apt-get install cmake git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev libbz2-dev libboost-dev libboost-all-devin Ubuntu 14.04, you also have to install qt5.3.0 and node.js from their official sites.2. Fetch the source codeCode: [Select]$ git clone https://github.com/BitShares/bitshares_toolkit.git$ cd bitshares_toolkit$ git submodule init$ git submodule update$ git checkout 0.2.1$cmake -DINCLUDE_QT_WALLET=ON CMakeLists.txt3. Prepare the web walletCode: [Select]$ sudo npm install -g lineman$ cd programs/web_wallet && npm install$ cd ../../ && make buildweb4. Build and run your qt_walletCode: [Select]$ makeand you will get your qt_wallet at bitsharesx/programs/qt_wallet:Code: [Select]$ bitsharesx/programs/qt_wallet/BitSharesX
$sudo apt-get update$sudo apt-get install cmake git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev libbz2-dev libboost-dev libboost-all-dev
$ git clone https://github.com/BitShares/bitshares_toolkit.git$ cd bitshares_toolkit$ git submodule init$ git submodule update$ git checkout 0.2.1$cmake -DINCLUDE_QT_WALLET=ON CMakeLists.txt
$ sudo npm install -g lineman$ cd programs/web_wallet && npm install$ cd ../../ && make buildweb
$ make
$ bitsharesx/programs/qt_wallet/BitSharesX
sudo apt-get install qt5-default libqt5webkit5-dev npm nodejs-legacy
Can someone checkin the htdocs somewhere?
I can post the htdocs somewhere when I get home.
sudo apt-get updatesudo apt-get install cmake git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev libbz2-dev libboost-dev libboost-all-dev qt5-default libqt5webkit5-dev npm nodejs-legacygit clone https://github.com/dacsunlimited/bitsharesx.gitcd bitsharesxgit checkout 0.4.5 (use the version number you want to build in this place.)git submodule initgit submodule updatecd programs/web_walletsudo npm install -g linemansudo npm installcd ../..cmake -DINCLUDE_QT_WALLET=ON .make buildwebmake
cd bitsharesxgit pull https://github.com/dacsunlimited/bitsharesx.git "put version number here without quotes"git submodule updatecmake -DINCLUDE_QT_WALLET=ON .make buildwebmake
System Ubuntu 14.04I complied bitsharesx.git (hat to increase the swap). How do I run the GUI wallet in Ubuntu? Do I follow instructions in /qt_wallet/README.md ? Are there different wallets (webwallet and desktop wallet) or just one?Thanks!