启动外部扫描仪信息生成器时出错 - MingGW 上的 gcc 链接问题

发布于 2024-08-15 02:57:39 字数 565 浏览 5 评论 0原文

启动外部扫描仪信息生成器时出错 - MingGW 上的 gcc 链接问题

启动外部扫描仪信息生成器时出错 (sh -c 'g++ -E -P -v -dD C:/Documents and Settings/user1/workspace123/.metadata/.plugins/org .eclipse.cdt.make.core/specs.cpp ')

启动外部扫描仪信息生成器时出错 (sh -c 'gcc -E -P -v -dD C:/Documents and Settings/user1/workspace123/.metadata/.plugins /org.eclipse.cdt.make.core/specs.c ')

这个问题发生在 eclipse-SDK-3.2.2-win32 -cdt 任何人都可以解决这个问题。有没有人对这个问题有任何解决方案。请帮助我解决这个问题。 此致。 阿尼尔库马尔

Error Launching external scanner info generator - gcc link problem on MingGW

Error launching external scanner info generator (sh -c 'g++ -E -P -v -dD C:/Documents and Settings/user1/workspace123/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp ')

Error launching external scanner info generator (sh -c 'gcc -E -P -v -dD C:/Documents and Settings/user1/workspace123/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c ')

this problem occuring in eclipse-SDK-3.2.2-win32 -cdt
can any one solve this problem .did any one have any solution to this problem .please help to me to solve this problem .
yours faithfully.
anilkumar

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

友欢 2024-08-22 02:57:39

也出现了这个错误。问题是 g++/gcc (MinGW/bin) 不在搜索路径中。
要更正,请执行以下操作:

  • 安装 MinGW
    (http://www.mingw.org/) 如果尚未安装。
  • 添加路径
    到 MinGW/bin (c:\MinGW\bin by
    默认)到 PATH 环境
    多变的。

这解决了我的案例中的一个错误。

还要确保您没有使用 Eclipse 中的重新启动命令。您需要完全关闭 Eclipse,然后再次启动它才能使更改生效。

Also had this error. Problem is g++/gcc (MinGW/bin) is not in the search path.
To correct do the following:

  • Install MinGW
    (http://www.mingw.org/) if not installed yet.
  • Add path
    to MinGW/bin (c:\MinGW\bin by
    default) to PATH environment
    variable.

This solved an error in my case.

Also make sure you're not using the restart command from eclipse. You'll need to shutdown Eclipse completely and then start it again for the change to take effect.

凌乱心跳 2024-08-22 02:57:39

我将 c:\MinGW\bin 添加到我的路径中,但仍然遇到类似的问题。

在项目属性中设置“Cygwin GCC”工具链消除了我的警告消息:

  1. 在 Eclipse 中,右键单击 C++ 项目并选择属性
  2. 选择 C/C++ Build >工具链编辑器
  3. 在“当前工具链”下,选择“Cygwin GCC”

I added c:\MinGW\bin to my Path, but I was still having a similar problem.

Setting "Cygwin GCC" toolchain in project properties eliminated my warning messages:

  1. In Eclipse, right click on C++ project and select properties
  2. Select C/C++ Build > Tool Chain Editor
  3. Under "Current toolchain", select "Cygwin GCC"
街道布景 2024-08-22 02:57:39

我目前正在尝试自己解决这个问题,但是在 Mac 上以及 Eclipse 上的 AVR-GCC 上...在我的搜索中,我发现这个答案似乎更适合您而不是我:

http://www.codeproject.com/KB/tips/CPP_Dev_eclipse_CDT.aspx

它专门针对 Win32 和还有与您的错误更相似的示例...

祝您好运。

I'm presently trying to resolve this issue for myself, however on a Mac and with AVR-GCC on Eclipse... in my search I found this answer which seems more applicable to you than to me:

http://www.codeproject.com/KB/tips/CPP_Dev_eclipse_CDT.aspx

It speaks specifically to Win32 and there are examples more similar to your error...

Best of luck.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文