On my computer I have Windows 7 x86. I installed MinGW, I wrote the path but when I go in cmd.exe and write g++ -v it says:
"g++" is not recognized as an internal or external command.
But when I write the make -v command it recognizes it. I need this for school, I work in Eclipse, I even installed the latest java(I saw it must be installed).
You have to modify environment variables. Do the following:
Finally, in the Environment Variables window (as shown below), highlight the Path variable in the Systems Variable section and click the Edit button. Add or modify the path lines with the paths you wish the computer to access. Each different directory is separated with a semicolon as shown below.
C:\Program Files;C:\Winnt;C:\Winnt\System32
Additionally you may refer to this link
I had the same problem in Sublime..
Example: D:\work\sublime\MinGW\bin
Seeing that the make command works fine, I think you forgot to mark the
mingw-gcc-g++
package in the MinGW Installation Manager.Run the MinGW Installation Manager again and mark
mingw-gcc-g++
for installation and pressApply Changes