Install MSYS2 (x86_64) and open the “MSYS2 MinGW64” shell.Install toolchain + dependencies:pacman -Syu --needed base-devel git \
mingw-w64-x86_64-{toolchain,cmake,python,boost,openssl,zeromq,unbound,protobuf,libgcrypt,libusb,hidapi,icu4c,qt5}
Clone and init submodules:git clone --recursive <repo> bitmonero-gui
cd bitmonero-gui
git submodule update --init --force --recursive
Configure and build (Release, bundled protobuf):mkdir build && cd build
cmake -G "MinGW Makefiles" -D CMAKE_BUILD_TYPE=Release -D USE_SYSTEM_PROTOBUF=OFF ..
cmake --build . -j$(nproc)
Outputs in build/bin: bitmonero-wallet-gui.exe, bitmonerod.exe, bitmonero-wallet-cli.exe, bitmonero-wallet-rpc.exe.