- 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-bit
with 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
September 26, 2023 08:45
-
-
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