0% found this document useful (0 votes)
323 views3 pages

Beginning C++ Programming: Configuring The Path Environment Variable For Mingw-64 On Windows Prior To Windows 10

This document provides instructions for setting the Path environment variable for MinGW-64 on Windows prior to Windows 10. It explains that the MinGW-64 directory, such as C:\Program Files\mingw-w64\mingw64, needs to be added to the Windows Path variable. It outlines opening the Control Panel, accessing the Environment Variables, editing the Path variable, and appending the MinGW-64 bin directory to the existing Path value. Setting the Path variable correctly allows the command line tools to be accessed from any location.

Uploaded by

Raees Jamadar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
323 views3 pages

Beginning C++ Programming: Configuring The Path Environment Variable For Mingw-64 On Windows Prior To Windows 10

This document provides instructions for setting the Path environment variable for MinGW-64 on Windows prior to Windows 10. It explains that the MinGW-64 directory, such as C:\Program Files\mingw-w64\mingw64, needs to be added to the Windows Path variable. It outlines opening the Control Panel, accessing the Environment Variables, editing the Path variable, and appending the MinGW-64 bin directory to the existing Path value. Setting the Path variable correctly allows the command line tools to be accessed from any location.

Uploaded by

Raees Jamadar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Beginning C++ Programming

Configuring the Path environment variable for MinGW-64


on Windows prior to Windows 10

If you are installing MinGW-64 on Microsoft Windows prior to Windows 10, then the procedure
to set the Path environment variable will be different than how I did it in the installation video.

If you are using Windows 10, then please follow the procedure in the course video.

Be sure that you have installed MinGW-64, and that it is installed in a location such as:

C:\Program Files\mingw-w64\mingw64

The location you used may have been different from this one. I’m using this one since it is the
location that I used in the installation video.

What we need to do next is add the following directory name to the Windows Path environment
variable.

C:\Program Files\mingw-w64\mingw64\bin

First you need to open the Windows Control Panel. If you aren’t sure how to do this, please
refer to the following link:

https://support.microsoft.com/en-us/help/13764/windows-where-is-control-panel

Once the Control Panel is open, navigate to System and Security, and then System and you
should see a screen like the one below:

Beginning C++ Programming 1 Updated: 4/2020


Select Advanced system settings.

Beginning C++ Programming 2 Updated: 4/2020


Then select Environment Variables and you should see a screen like the following:

Under System Variables, scroll down until you see the Path variable.
Select it and click Edit.

Then add the following to the end of the path in the Variable value textbox as shown
below. Please be sure to begin the text you add with a semi-colon.

;C:\Program Files\mingw-w64\mingw64\bin

Please be very careful and be sure you APPEND this path to the existing Path.
Be sure NOT to delete anything!

Click OK several times until you exit the Control Panel.

At this point your Path environment variable is set.

Beginning C++ Programming 3 Updated: 4/2020

You might also like