Eclipse C ++:“程序”g ++“在PATH中找不到“ [英] Eclipse C++ : "Program "g++" not found in PATH"
本文介绍了Eclipse C ++:“程序”g ++“在PATH中找不到“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的Windows 7(32位)中安装了gpp,如图所示。
I have gpp installed in my Windows 7 (32 bit) as shown in the picture.
PATH可变气g ++
PATH variable gas g++
"%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\cygnus\cygwin-b20\H-i586-cygwin32\bin\g++"
Still eclipse显示错误:
Still eclipse shows the error:
程序g ++PATH中找不到
"Program "g++" not found in PATH".
如何解决?
推荐答案
今天我遇到了这个问题,并以下列方式解决。我按住重置默认值按钮,我可以在Eclipse设置中找到它(例如,Preferences / C ++ / Build / Settings / Discovery)。之后,错误消失,代码编译成功。
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.
这篇关于Eclipse C ++:“程序”g ++“在PATH中找不到“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文