Eclipse C:错误启动过程 - 启动失败无法 运行 程序
Eclipse C: Error Starting Process - Launching Failed Cannot Run Program
我一直在尝试为一些 C 开发设置 Eclipse。我设法让示例 "hello world" 程序(由 Eclipse 提供)进行编译,但是我无法 运行 或调试它。由于我能够编译,我假设编译器的设置是正确的,我也可以在工作区中找到可执行文件(不会 运行 手动)。
在尝试通过 Eclipse 运行 它时,我收到错误 "Error Starting Process - Launching Failed, Cannot run program"。
尝试从 Eclipse 调试它时,我收到错误 "Error in final launch sequence: Failed to execute MI command: -exec-run" 和 "Error creating process %path to executable%(error 5)"。
我已经尝试将工作区更改为没有空格的工作区并重新安装编译器 (MinGW),但没有成功。
如果有人能就此问题提供一些见解,我将不胜感激。
编辑:尝试 运行 可执行文件 returns 出现以下错误: "Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item." 这很奇怪,因为我 运行 在我的机器上以管理员身份使用它。
此外,试图从管理员权限级别的命令提示符 运行 可执行文件 window returns "access is denied".
原来我的防病毒软件阻止了文件的执行,将其禁用,程序 运行 正常。
我一直在尝试为一些 C 开发设置 Eclipse。我设法让示例 "hello world" 程序(由 Eclipse 提供)进行编译,但是我无法 运行 或调试它。由于我能够编译,我假设编译器的设置是正确的,我也可以在工作区中找到可执行文件(不会 运行 手动)。
在尝试通过 Eclipse 运行 它时,我收到错误 "Error Starting Process - Launching Failed, Cannot run program"。
尝试从 Eclipse 调试它时,我收到错误 "Error in final launch sequence: Failed to execute MI command: -exec-run" 和 "Error creating process %path to executable%(error 5)"。
我已经尝试将工作区更改为没有空格的工作区并重新安装编译器 (MinGW),但没有成功。
如果有人能就此问题提供一些见解,我将不胜感激。
编辑:尝试 运行 可执行文件 returns 出现以下错误: "Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item." 这很奇怪,因为我 运行 在我的机器上以管理员身份使用它。
此外,试图从管理员权限级别的命令提示符 运行 可执行文件 window returns "access is denied".
原来我的防病毒软件阻止了文件的执行,将其禁用,程序 运行 正常。