解决A program file was not specified in the launch configuration.问题

    问题描述:

在eclipse 中开发c++或c是比较麻烦的事情,刚刚配置好mingw32和cdt和环境变量后,新建一个hello world的c++项目还是会出现问题。主要是在编译的时候会提示A program file was not specified in the launch configuration.(没有找到可以编译的程序源文件)。

解决A program file was not specified in the launch configuration.问题

    解决方法是:

1.选中你的项目,然后右击项目,在弹出的菜单中选择Properties

解决A program file was not specified in the launch configuration.问题

2.在弹出的对话框中选中Run/Debug Settings,然后下面的图片来操作

.解决A program file was not specified in the launch configuration.问题

3.点击Search Project...

解决A program file was not specified in the launch configuration.问题

4.双击你要的degug或者release版本

解决A program file was not specified in the launch configuration.问题

5.然后一路点Ok,最后再次运行,就可以了!:)

解决A program file was not specified in the launch configuration.问题

上一篇:MFC制作简单通讯录程序


下一篇:Python学习之旅(二十七)