Compile a COIN

Ubuntu GNU-Linux is the most easy to compile a  Qt COIN Wallet and a deamon. Slothcoin has been used here as an example. (This mini tutorial is for advanced GNU-Linux users.)

First: dependencies, they are needed by most BiTCoin offspring.

To install the required dependencies, run the following command:

Using QT4:

$ sudo apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev

For QT5 you need also:

$ sudo apt-get install qt5-qmake libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev-tools

(Alternatively, install `Qt Creator`)

Then grab the latest version of the source code from Github

Slothcoin Sourcecode

To build the daemon, run the following commands:

$ cd Slothcoin/src

$ make -f makefile.unix

Optionally, debugging symbols can be removed from the binary to reduce it’s size. This can be done using strip.

$ strip Slothcoind

Then, to build the GUI, run the following commands:

$ cd ..

$ qmake

$ make

$ strip Slothcoin-Qt

Or, when you have QT-creator installed, open the file and build it from within creator.

After building and starting it will take a while before the blockchain has been downloaded. (At time of writing, 14-02-2016, it is about 300 Mega Byte. )

(At a later stage more info will follow about Gitian and crosscompiling.)

Souvereign Life Inspired Creating Karma