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)
- Add to the top of PATH environment variables value
-
Run ./bin/init.sh --init (MSYS2)
set PATH="C:\msys64\ucrt64;C:\msys64\ucrt64\bin;C:\msys64\ucrt64\include;C:\msys64\ucrt64\lib;%PATH%"