This guide describes how to build gridcoinresearchd, command-line utilities, and GUI on Windows.
First, install MSYS2. All commands below are supposed to be run in the MSYS2 UCRT64 shell.
Run the following to install the base dependencies for building:
pacman -S make ninja pactoys
pacboy -S boost:p cmake:p curl:p libzip:p openssl:p toolchain:p
pacboy -S qrencode:p qt5-base:p qt5-tools:p # optional for the GUI
To configure with gridcoinresearchd:
mkdir build && cd build
cmake .. -DBUILD_SHARED_LIBS=OFF
To configure with GUI:
mkdir build && cd build
cmake .. -DENABLE_GUI=ON -DBUILD_SHARED_LIBS=OFF
Note
See also: CMake Build Options
cmake --build . # use "-j N" here for N parallel jobs
cmake .. -DENABLE_TESTS=ON
cmake --build .
ctest .