Virtual Coin Development topic (build a Shanzhai client under a different system Ubuntu platform)

Source: Internet
Author: User
Blockchain Enthusiast (qq:53016353)
Have seen the Dragon less this article under the windows of the tutorial, "VC compiled debugging Bitcoin source code", did not take half a day to fix. Recently installed an Ubuntu to play, so want to try again, compile and install the success, interested can try.
My system version Ubuntu 14.04, can be installed dual system can also install virtual machine, as to how to install Ubuntu can be another search.


Reference: (1) compiling Bitcoin (Bitcoin) client from source under Ubuntu
(2) Bitcoin bitcoin source code installation and compilation
D






1, first install some necessary dependent libraries (see Resources (3), anyway can be installed, concrete role visible reference)
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev Libevent-dev
Copy Code
sudo apt-get install Libboost-all-dev
Copy Code
sudo apt-get install Libdb4.8-dev Libdb4.8++-dev
Copy Code
sudo apt-get install Libminiupnpc-dev
Copy Code
sudo apt-get install Libqt4-dev libprotobuf-dev protobuf-compiler
Copy Code
sudo apt-get install Libqrencode-dev
Copy Code
These tools do not have to be installed (already installed will automatically skip):
sudo apt-get install make gcc g++ git
Copy Code
2, download the source code
Copy Code
With git pull can be very slow, you can go directly to the lower right corner to download the zip compressed package on the line


Direct entry directory for 3,git clone
CD Bitcoin
Copy Code
Download the unzip after entering the folder after opening the terminal


4,
./autogen.sh
Copy Code
To perform this step, if there is a problem with this step, the above dependencies may not be complete, see if there is a problem.


5,
./configure
Copy Code
If you come across a hint like this: Configure:error:Found Berkeley DB other than 4.8, required for portable wallets then you can:
./configure--WITH-INCOMPATIBLE-BDB
Copy Code
See if there's a problem, go ahead.


6,
Make
Copy Code
Start compiling my computer for about 10 minutes and then install the compiled binaries


7,
sudo make install
Copy Code
8, then you can run it.
Bitcoin-qt
Copy Code
This is my screenshot.








Of course, this can only be played, not officially used OH

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.