Header background
Tutorials

Windows wallet compiling instructions

Windows wallet compiling instructions

Tutorial - Compile Windows wallet on Ubuntu Server 22.04

Upgrade your coin to make use of this tutorial.

Compile a wallet for Microsoft Windows on Ubuntu Server 22.04 with the following tutorial.

Update your Ubuntu server with the following command:

sudo apt-get update && sudo apt-get upgrade -y

Install the required dependencies with the following command:

sudo apt-get install make automake cmake curl g++-multilib libtool binutils-gold bsdmainutils pkg-config python3 patch bison -y

Create your source code directory with the following commands:

cd ~/

mkdir source_code

cd source_code

Download the source code of your coin with the following command:

wget "https://dl.walletbuilders.com/download?customer=212c2ed32b088c0200b9ea8c19b732029b6779185b653147c9&filename=dale-source.tar.gz" -O dale-source.tar.gz

Type the following command to extract the tar file:

tar -xzvf dale-source.tar.gz

Type the following command to download the update for QT:

wget https://raw.githubusercontent.com/walletbuilders/source-patches/master/quark-pos/3.3/qt_fix_quark_pos_33.diff

Type the following command to update QT:

patch -p1 < qt_fix_quark_pos_33.diff

Type the following command to download the patch for QT:

wget https://raw.githubusercontent.com/walletbuilders/source-patches/master/quark-pos/3.3/patches/qt/qt_fix_limit.patch -P depends/patches/qt

64-bit

Install the required dependencies with the following command:

sudo apt-get install g++-mingw-w64-x86-64 -y

Set the default x86_64-w64-mingw32-g++ compiler option to posix with the following command:

sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix

Build x86_64-w64-mingw32 with the following commands:

PATH=$(echo "$PATH" | sed -e 's/:/mnt.*//g')

cd depends

make HOST=x86_64-w64-mingw32

cd ..

Type the following commands to compile your 64 bit wallet for Microsoft Windows.

./autogen.sh

CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/

make

32-bit

Type the following command to clean your source code:

make clean

Install the required dependencies with the following command:

sudo apt-get install g++-mingw-w64-i686 mingw-w64-i686-dev -y

Set the default i686-w64-mingw32-gcc and i686-w64-mingw32-g++ compiler option to posix with the following commands.

sudo update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix

sudo update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix

Build i686-w64-mingw32 with the following commands:

PATH=$(echo "$PATH" | sed -e 's/:/mnt.*//g')

cd depends

make HOST=i686-w64-mingw32

cd ..

Type the following commands to compile your 32 bit wallet for Microsoft Windows.

./autogen.sh

CONFIG_SITE=$PWD/depends/i686-w64-mingw32/share/config.site ./configure --prefix=/

make

The compiled wallet for Microsoft Windows is located in the directory src/qt, the tools are located in the directory src.