First, let's access the official MinGW website:
mingw.orgNow let's go to the downloads tab, which is in the upper left corner:
- On the download page choose option
MingW-W64-builds
:
- Now click the direct link to github:
- On the github page, choose the following option:
x86_64-12.2.0-release-posix-seh-rt_v10-rev0.7z
Now you will download the file and unzip it using winrar (or any other file extraction tool).
After unzipping the file, go to the location where you unzipped it
and copy the path of the bin folder:
That done, to windows settings -> system -> about -> advanced system settings.
Click environment variables -> system variables -> path -> edit -> new -> paste the bin folder path you copied earlier.
Okay, now open your terminal (win
+ r
) and type cmd
and type the following command g++ --version
, if everything went well, the g++ version will appear.
Top comments (0)