启动错误:使用 eclipse cdt 和 Visual C 编译器错误(cl.exe)

发布于 2024-11-18 07:22:27 字数 116 浏览 0 评论 0原文

我尝试使用 eclipse 3.7 cdt 和 Visual C++ 编译器来编译应用默认设置的 cpp 代码。
编译和链接过程都正常。但程序仍然无法启动,并出现错误。
“启动配置中未指定程序文件。”

I try to using eclipse 3.7 cdt with visual c++ compiler to compile my cpp code appling default setting.
the compile and link process are ok. But the program still could not launch with an error.
"A program file was not specified in the launch configuration."

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

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

发布评论

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

评论(1

你对谁都笑 2024-11-25 07:22:27

请参阅这篇 IBM 文章(关于调试配置,但对于“运行”配置也很有用):

在此处输入图像描述

您需要指定项目和可执行文件跑步。

See this IBM article (about the debug configuration, but also useful for a "run" configuration):

enter image description here

You need to specify the Project and executable to run.

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