运行使用 Geany IDE 编译的 C 程序时出错错误代码:127

use*_*105 6 c geany 14.04

我通过 Ubuntu 软件中心安装了 Geany IDE。用 C 编写了一个 hello world prog,它编译成功,但是当我尝试运行它时,它给了我这个错误:

./geany_run_script.sh: 5: ./geany_run_script.sh: ./hello: not found

------------------
(program exited with code: 127)
Press return to continue
Run Code Online (Sandbox Code Playgroud)

有人可以告诉我我该怎么做吗?

kra*_*xor 8

您只编译了源文件,但未构建应用程序,这意味着未完成链接且未创建可执行文件。使用“构建”菜单中的“构建”子菜单(如果我没记错的话,默认快捷键是 F9)并重试。