Okay, I got it to run. I’m not sure which of these things did the trick, but here is what I did:
- Uninstalled MSYS2 entirely, rebooted.
- Reinstalled MSYS2, rebooted.
- Opened MINGW64, ran the following commands:
pacman -Suy
pacman -Suy
(again x2)
pacman -S mingw-w64-x86_64-gcc
pacman -S mingw-w64-x86_64-cmake
pacman -S make
pacman -Suy
- Closed MINGW64, updated system environmental variable PATH to include the following directories:
o C:\msys64\mingw64\bin\ (this was already there, just being thorough)
o C:\msys64\mingw64\lib\
o C:\msys64\mingw64\ - Opened MING64, ran the scripts again, everything went through this time.