Eclipse C++ : “Program “g++” not found in PATH”

Today I have bumped into this problem and solved it in the following way. I pressed “Reset defaults” button everywhere I could find it in Eclipse settings (for example, Preferences/C++/Build/Settings/Discovery). After that the error disappeared and the code compiled successfully.

Leave a Comment