Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.21 KB

INSTALL.md

File metadata and controls

40 lines (30 loc) · 1.21 KB

Installation on Windows (MSYS2/CMAKE)

  • Install MSys2

  • (optionally) Install Node.js

  • Install packages using msys shell (MSYS2)

pacman -S --noconfirm \
    mingw-w64-ucrt-x86_64-cmake \
    mingw-w64-ucrt-x86_64-gcc \
    mingw-w64-ucrt-x86_64-ninja \
    mingw-w64-ucrt-x86_64-cmake \
    mingw-w64-ucrt-x86_64-lcov \
    mingw-w64-ucrt-x86_64-gdb \
    mingw-w64-clang-x86_64-cmake \
    mingw-w64-clang-x86_64-gcc-compat \
    mingw-w64-clang-x86_64-ninja \
    mingw-w64-clang-x86_64-cmake \
    mingw-w64-clang-x86_64-lcov \
    mingw-w64-clang-x86_64-gdb \
    mingw-w64-clang-x86_64-clang-tools-extra \
    mingw-w64-ucrt-x86_64-clang-tools-extra \
    cmake ninja clang lcov gdb
  • Add paths to UCRT binaries/libraries (C:\msys64\ucrt64\bin) at the top to the system variable (PATH)

    • Add to the top of PATH environment variables value C:\msys64\clang64\bin (clang64)

    or

    • Add to the top of PATH environment variables value C:\msys64\clang64\bin (ucrt64)
  • Run ./bin/init.sh --init (MSYS2)

set PATH="C:\msys64\ucrt64;C:\msys64\ucrt64\bin;C:\msys64\ucrt64\include;C:\msys64\ucrt64\lib;%PATH%"