- Install Msys2 from msys2.org
- Complete the steps and open Msys2
- Update package databases
pacman -Syu - Update rest of base packages
pacman -Su - Install Mingw-w64
pacman -S --needed base-devel mingw-w64-x86_64-toolchain - Install CMake
pacman -S mingw-w64-x86_64-cmake - Install Ninja
pacman -S mingw-w64-x86_64-ninja - Make sure to launch
MSYS2 MinGW 64-bitwith administrator rights ( This is !mportant...!!!)- make sure you have access to cmake by running
cmake, g++ by runningg++ --version
- make sure you have access to cmake by running
Last active
July 16, 2025 10:42
-
-
Save ahmednawazkhan/4da8acbdafe0798527874b0f00f16e45 to your computer and use it in GitHub Desktop.
Install C++/Mingw-w64/g++ on windows
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
we'll see cuz i just installed it with admin