eclipse c ++没什么建立错误 [英] eclipse c++ nothing to build error

查看:104
本文介绍了eclipse c ++没什么建立错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我试图建立一个C ++项目,但后来得到这个错误

  **** Build of configuration发布项目p **** 

****内部构建器用于构建****
无法构建p



我在网上搜索解决方案,但他们不能解决问题


  1. 我的文件都是小写的

  2. 我的文件正确地包含在项目中,实际上文件是从文件 - >新建 - > c ++项目 - > hello world项目,因此它们是由eclipse ...

创建的,代码只是eclipse hello world code ...

  #include< iostream> 
using namespace std;

int main(){
cout<< !!!你好,世界!!! << endl; // prints !!! Hello World!
return 0;
}




  1. 编译器已正确安装...在C:\ mww和项目的include文件夹包含所有这些文件正确...

有人知道什么可能错误?

解决方案

是否创建了Makefile?它看起来好吗?


so I was trying to build a C++ project, but then I get this error

**** Build of configuration Release for project p ****

**** Internal Builder is used for build               ****
Nothing to build for p

and I search online for solutions but they're not solving the problem

  1. my files are all in lower case
  2. my files are properly included in the project, in fact the files were generated from File -> new -> c++ project -> hello world project so they're created by eclipse...

and the code is just the eclipse hello world code...

#include <iostream>
using namespace std;

int main() {
    cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
    return 0;
}

  1. The compiler is installed properly...I got mingw on C:\mingw and the project's includes folder contain all these files properly...

does anyone know what might be wrong?

解决方案

Was a Makefile created as well ? Does it look OK ?

这篇关于eclipse c ++没什么建立错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆