eclipse c++没有什么可构建错误
所以我试图构建一个 C++ 项目,但后来我收到此错误
**** Build of configuration Release for project p ****
**** Internal Builder is used for build ****
Nothing to build for p
,我在线搜索解决方案,但他们没有解决问题
- 我的文件都是小写的
- 我的文件已正确包含在项目中,事实上文件是从 File -> 生成的新-> C++ 项目 -> hello world 项目,所以它们是由 eclipse 创建的...
代码只是 eclipse hello world 代码...
#include <iostream>
using namespace std;
int main() {
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
return 0;
}
- 编译器安装正确...我在 C:\mingw 上找到了 mingw,项目的包含文件夹包含所有这些文件正确...
有人知道可能出了什么问题吗?
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
- my files are all in lower case
- 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;
}
- 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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
今天也遇到了同样的问题,但幸运的是我找到了一个视频为我解决了这个问题。看来我们没有正确安装 MinGW。
看看这个:
http://www.youtube.com/watch?v=b2cfc9ERkpk
Had this exact same problem today, but luckily I found a video which sorted it out for me. Seems we weren't properly installing MinGW.
Check this out:
http://www.youtube.com/watch?v=b2cfc9ERkpk
您应该将“msys”路径(C:\ MinGW \ msys \ 1.0)与MinGW路径(C:\ MinGW \ bin)一起添加到游览项目中。然后构建就顺利了。
You should add "msys" path (C:\MinGW\msys\1.0) to tour project along with MinGW path (C:\MinGW\bin). Then build goes fine.