当我尝试编译以下代码片段时,我的Eclipse CDT一直提示“make:***没有使所有目标都变为规则”:
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!!!" << endl; // prints Hello World!!!
return 0;
}
有人知道如何解决这个问题吗?
我已经阅读了标题相似的帖子:
make: *** No rule to make target `all'. Stop. Eclipse error
但是这些答案都没有帮助...
非常感谢!
最佳答案
您需要更改项目设置,以便Eclipse-CDT为您管理Makefile。
关于c++ - Eclipse CDT : no rule to make target all,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/12574187/