The problem arises as follows:
Explain the background of the situation I have seen:
1. First install the omnet++ software, about omnet++ Software installation success see another article omnet++ installation tutorial
2. Also installed the GCC compiler environment-mingw, about MinGW installation success see another article MinGW installation tutorial
3. Also downloaded an Eclipse C + + to see if also reported is wrong (in fact, omnet++ is also a class of Eclipse C + + software), and the result is that Eclipse C + + did not error, that is, the problem should be in the omnet++ itself
Then find another solution on the Internet:
The general meaning is to open the Mingwenv.cmd, from Mingwenv.cmd into omnet++ after, do not close mingwenv.cmd, is always open, will not error
(Just leave it open with a tomcat.)
Problem "g++" ("gcc") not found on PATH [in omnet++]----about omnet++ software usage issues