Windows#

Requirements#

First you need to install MSYS2, then startup “MSYS2 MinGW 64-bit” and execute the following codes.

Update all packages:
pacman -Suy
Install dependencies:
pacman -S \
  base-devel \
  cmake \
  diffutils \
  doxygen \
  gcc \
  git \
  make \
  mingw-w64-x86_64-binutils \
  mingw-w64-x86_64-boost \
  mingw-w64-x86_64-cmake \
  mingw-w64-x86_64-curl \
  mingw-w64-x86_64-graphviz \
  mingw-w64-x86_64-miniupnpc \
  mingw-w64-x86_64-nlohmann-json \
  mingw-w64-x86_64-nodejs \
  mingw-w64-x86_64-onevpl \
  mingw-w64-x86_64-openssl \
  mingw-w64-x86_64-opus \
  mingw-w64-x86_64-rust \
  mingw-w64-x86_64-toolchain \
  python \
  python-pip

Build#

Attention

Ensure you are in the build directory created during the clone step earlier before continuing.

cmake -G "MinGW Makefiles" ..
mingw32-make -j$(nproc)

cpack -G NSIS  # optionally, create a windows installer
cpack -G ZIP  # optionally, create a windows standalone package