Downloading
1. Open MinGW
• The following page will open in your browser (from the SOURCEFORGE web site).
2. Now click on Download button.
• Your downloading will start soon, this compiler is about (84.5 kB) so it will not take so much time to download.
• Your downloading will start soon, this compiler is about (84.5 kB) so it will not take so much time to download.
• The file will appear as
3. Move this file to a more permanent location, so that you can install MinGW (and reinstall it later, if necessary).
4. Start the Installation instructions directly below.
Installation
• The following window will pop-up.
• Here I'm installing MinGW in C:\MinGW directory. You can install this software anywhere, but I recommend you to installing it in default directory that's C:\MinGW.
3. Click Continue.
• The following window will pop-up, showing the downloading progress. It will take some time to complete this process (depend on your Internet Speed). After this, it should appear as follow
• The following pop-up window will appear. Ensure on the left that Basic Setup is highlighted.
• Now mark check to each boxes given there, by clicking Left Click → Mark for Installation.
6. After completing marking, under Installation Section → Apply Changes.
12. Click Edit the system environment variables.
7. Click Apply Changes.
• The following window will pop-up.
8. Click Apply.
• The following window will pop-up, showing the downloading progress.
• After a while (hardly 10 min, depend upon your internet speed), it start executing files.
• A few minutes later after that, the following pop-up window should appear.
9. Mark check to the box, it will automatically close the dialogue box.
10. Your MinGW Installation is complete! (You can close the MinGW software)
11. Now we have to set path of MinGW, to use it in our environment (PC/Computer).
• For this open Search/Start and type "envi", select Edit the system environment variables.
• The following window will pop-up.
13. Click Environment variables.
• The following window will pop-up.
14. Select Path under System variables and click Edit.
• The following window will pop-up.15. Click New Button.
• Now we have to paste our MinGW bin path.
• In my case it is C:\MinGW\bin directory (Setup 2).
16. Click Move Up Button.
• Move this path under %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ path.
17. Click OK. (To all pop-up windows)
• Path setting process is completed!
Checking for Installation
We can also check if our MinGW software is installed successfully or not.18. Open CMD (Command Prompt)
• Type g++ --version in it.
Comments
Post a Comment