G++' Is Not Recognized as an Internal or External Command, Operable Program or Batch File

g++' is not recognized as an internal or external command, operable program or batch file

Try to set g++ to your system path.

You can refer to this:
http://stephencoakley.com/2015/01/21/guide-setting-up-a-simple-c-development-environment-on-windows

g++ is not recognized as an internal or external command Windows 10

This was very simple , it was one of those weird cases.

To solve my problem what i did was:

1: uninstall , the current version of the mingw compiler , because i felt as though the one i had was corrupt in a way.

2:Redownloaded it the compiler from the website http://www.mingw.org/

3: set up the new Environmental variable where i save it , witch was C:\MinGW\bin


  1. I had to install g++ from the command line(cmd ,command prompt)
    by using this command mingw-get install g++witch is located inside bin on default

  2. now i created one more directory in the environmental variables , C:\MinGW\bin\g++.exe

6.Now everything works , and is normal



Related Topics



Leave a reply



Submit