我在我的 Windows 7(32 位)中安装了 gpp,如图所示。
PATH 变量气体 g++
"%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\g++"
仍然 eclipse 显示错误:
"Program "g++" not found in PATH".
如何解决?
最佳答案
今天我遇到了这个问题并通过以下方式解决了它。我在 Eclipse 设置(例如,Preferences/C++/Build/Settings/Discovery)中找到的任何地方都按下了“重置默认值”按钮。之后错误消失,代码编译成功。
关于c++ - Eclipse C++ : "Program "g+ +"not found in PATH",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11703432/