Updated Win64 Cross-Compile Guide For v0.1.6The Windows wallet is cross-compiled on Ubuntu or The Windows Subsystem for Linux.
1) Install the cross-compiler dependencies:
sudo apt install autoconf automake autopoint bash bison bzip2 flex g++ g++-multilib gettext git gperf \
intltool libc6-dev-i386 libgdk-pixbuf2.0-dev libltdl-dev libssl-dev libtool-bin libxml-parser-perl lzip make \
openssl p7zip-full patch perl pkg-config python ruby scons sed unzip wget xz-utils
2) Download the wallet and cross-compiler sources:
git clone https://github.com/pallas1/Cryptonite.git
git clone https://github.com/e-nexus/mxe.git
3) Build the cross-compiler:
cd mxe
git checkout xcn
make MXE_TARGETS=x86_64-w64-mingw32.static.posix db gmp boost libqrencode miniupnpc protobuf qtbase qttools -j4
4) Build the wallet:
cd ..
cd Cryptonite
(Replace /path/to with the path to your mxe folder)PATH=/path/to/mxe/usr/bin:$PATH
./autogen.sh
(Replace all /path/to with the path to your mxe folder)./configure CPPFLAGS="-std=c++11 -fPIC" --host=x86_64-w64-mingw32.static.posix --with-qt-incdir=/path/to/mxe/usr/x86_64-w64-mingw32.static.posix/qt5/include \
--with-qt-libdir=/path/to/mxe/usr/x86_64-w64-mingw32.static.posix/qt5/lib --with-qt-plugindir=/path/to/mxe/usr/x86_64-w64-mingw32.static.posix/qt5/plugins \
--with-qt-bindir=/path/to/mxe/usr/x86_64-w64-mingw32.static.posix/qt5/bin --with-boost-libdir=/path/to/mxe/usr/x86_64-w64-mingw32.static.posix/lib \
--with-protoc-bindir=/path/to/mxe/usr/x86_64-pc-linux-gnu/bin --with-incompatible-bdb --disable-hardening --disable-tests
make -j4
strip src/*.exe
strip src/qt/*.exe
The daemon and cli are in the src folder and the gui wallet is in the src/qt folder.
WSL users can install a file manager using
sudo apt install mc,
then type mc in the console to run it and move your compiled wallet to the Windows file system under /mnt/c/.