【问题标题】:Failing to run command in makefile project in Eclipse无法在 Eclipse 的 makefile 项目中运行命令
【发布时间】:2011-04-26 03:16:47
【问题描述】:

当我尝试在 Linux 操作系统上的 Eclipse 中构建我的 makefile 项目时遇到问题。除了最后一个命令 unsimgcr -pd input output 之外,整个 makefile 都可以正常执行。我收到一个错误/bin/bash: unsimgcr: command not found

最奇怪的是,如果我从 linux 终端运行 make 命令,makefile 执行得很好,没有问题。我想我应该在 Eclipse IDE 中设置一些东西,但我不知道如何得到帮助。

【问题讨论】:

    标签: eclipse makefile eclipse-cdt


    【解决方案1】:

    当你从命令行运行 unsimgcr 时,它可能在你的路径中,但从 eclipse 运行时,它不在路径中。要么修复路径问题,要么在 make 文件中放置 unsimgcr 的绝对路径。

    【讨论】:

    • 那么 Eclipse 必须有自己的 PATH 才能设置在某个地方?
    猜你喜欢
    • 1970-01-01
    • 2019-04-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-02-27
    • 2015-12-21
    • 2012-03-28
    相关资源
    最近更新 更多