![mingw download mingw download](https://perso.uclouvain.be/allan.barrea/opencv/_images/mingw_install_1.png)
To use msysgit, run, Git Bash this will open an msys terminal that allows the use of git.Git Bash and Git Gui should now be installed. Modified the CR/LF beahavior to be Use Unix style line endings and click Next >.I left the PATH environment to be set to Use Git Bash only and click Next >.
![mingw download mingw download](https://www.ics.uci.edu/~pattis/common/handouts/mingweclipse/images/1run.jpg)
Click Next > on the Additional Tasks screen - I left all items checked.Accept the default Start Menu folder by clicking Next >.
#Mingw download install
![mingw download mingw download](https://www.cs.rhodes.edu/~kirlinp/courses/cs2/s17/installing-clion/images-mingw/welcome.png)
(It is up to you if you want to open the documents.) Click Finish you are done the installation.It should confirm that you have make.exe installed, press any key to continue.Enter c:/mingw as the path where MinGW is installed.A cmd shell will pop-up asking if you want to continue with the post install, enter y enter.The default folder of MinGW is fine, so click Next >.The Default Destination of C:\msys\1.0 is fine, so click Next >.Read the License Agreement and click Yes.Click Yes you want to install in the Setup pop-up.When Installation is complete, click Next >.Leave the default folder and click Install.Check the MinGW base tools and g++ compiler click Next.Select Current to install the current MinGW package and click Next >.Read the License Agreement and click I agree.Select Download and Install and click Next >.Click Yes when Windows asks if you want to allow it.3 Additional Optional Library Installations.