解决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.(没有找到可以编译的程序源文件)。

    解决方法是:

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

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

.

3.点击Search Project...

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

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

时间: 2024-08-06 06:01:43

解决A program file was not specified in the launch configuration.问题的相关文章

cannot be run because the program file for 00100003 cannot be located on a distribution point

the task sequence cannot be run because the program file for 00100003 cannot be located on a distribution point 检查边界组设置

centos怎么解决yum 出现 File “/usr/bin/yum”, line 29

来自:http://www.demopu.com/?p=599 错误如下:Python123456789101112131415161718192021222324252627282930313233343536373839[[email protected]/]# yum instal pppLoaded plugins:fastestmirrorNo such command:instal.Please use/usr/bin/yum–help[[email protected]/]# yu

解决 Ubuntu 开机 Waiting for 60 seconds more for network configuration

sudo vim /etc/network/interfaces, 将该文件的内容修改为如下:(也就是说删掉其他的什么auto eth0.auto wlan0) auto lo iface lo inet loopback 解决 Ubuntu 开机 Waiting for 60 seconds more for network configuration,码迷,mamicode.com 解决 Ubuntu 开机 Waiting for 60 seconds more for network co

Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法

Eclipse 忽然报 "The builder launch configuration could not be found" 错误:        解决办法如下:        1. Package Explorer 视图下选中项目名        2. Eclipse 工具栏中选择 Project -> Properties        3. 弹出的 Properties 对话框中,点击 Builders  4. 将缺失的 builder 移除掉 -> 点击 OK

Eclipse Wowza 插件报 "The builder launch configuration could not be found" 错误的解决办法

前边有篇博客<Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法>介绍了 Eclipse 报错 "The builder launch configuration could not be found" 的解决办法,按那个办法处理之后,发现不报错了,但 ant 的自动构建没了.这样没法接受.        看来逃避是解决不了问题呢.所以觉得<Eclipse

解决input[type=file]打开时慢、卡顿问题

为什么在input标签类型为file上传文件时在标签中设置属性 accpet="image/*",打开本地文件夹的速度特别慢? 经过测试发现,在mac里面safari.Firefox.Chrome(opera不知道为啥老闪退)都没有卡顿问题 在windows里面,Firefox不卡顿,只有Chrome卡顿. 于是我决定先去掉accpet试试……果然就没有了卡顿的问题.那么本包在试试accpet="image/jpg"果然也不卡卡的了!!看来问题的所在就是"

Spring,SpringMVC,Mybatis等配置文件报错解决(Referenced file contains errors)

今天自己搭建了ssm框架,头文件什么的都是拷贝的笔记的,本来不会出错.可是偏偏报错(如下): Referenced file contains errors (http://www.ibatis.com/dtd/sql-map-config-2.dtd). For more information, right click on the message in the  Problems View and select "Show Details..." 整整折腾了一上午,也没解决.网上

解决no such file or directory的问题

当我们在给我们项目中的一些文件转移位置存放的时候,经常性的会遇到no such file or directory这个错误,也就是说是在路径下找不到相关的文件,这里介绍一种方法,解决这个曾经纠结我好久的问题,也希望对大家能够有所帮助! 1.这是经常遇到的一个错误,如图: 2.在你的项目中找到发生错误的那个文件,这里一xx.pch为例,点击pch文件,查看xcode右边显示的内容详细,然后找到其目前下的文件路路径,然后复制即可! 3.在build setting中,搜索到你想要找的文件,然后具体步

[转]sqlplus /nolog 出错解决 SP2-0667: Message file sp1&lt;lang&gt;.msb not found SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory

http://techxploration.blogspot.com/2012/01/resolving-sp2-0750-you-may-need-to-set.html Resolving SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory If you set up Oracle Database XE 11G in Linux and you encounter the following