My Eclipse CDT keeps complaining "make: *** no rule to make target all" when I am trying to compile the piece of code below:
#include <iostream> using namespace std; int main() { cout << "Hello World!!!" << endl; // prints Hello World!!! return 0; }
Anyone knows how to solve this? I have read the post with the similar title: make: *** No rule to make target `all'. Stop. Eclipse error But none of those answers help...
Thanks a lot!
No rule to make target generally means simply that you have a compiler version that does not match the original compiler used in the project. You only need to go to the project properties and change the compiler to use the one you installed.
The C/C++ Development Toolkit (CDT) is a set of Eclipse plug-ins that provide C and C++ extensions to the Eclipse workbench. For more information about Eclipse, see Workbench User Guide > Concepts > Workbench. The CDT provides a C/C++ IDE that simplifies many of the same tools that you can use from the command line.
You need to change your project settings so that Eclipse-CDT manages your Makefiles for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With