Home » Language IDEs » C / C++ IDE (CDT) » Cannot build: all build commands fail without error, do nothing.
Cannot build: all build commands fail without error, do nothing. [message #631572] |
Fri, 08 October 2010 00:25  |
Eclipse User |
|
|
|
Does anyone know how to fix this? I was creating a new Eclipse project for some old code with a working Makefile when all the build commands in Eclipse just stopped working.
First, I created a new Makefile project, created some build targets, and that was working fine. Then, I created a debug configuration for one target, and that was working fine, too. Then, for some unknown reason, all the Eclipse build commands stopped working.
Now, when I try to build any target or build all, nothing happens. The console tab shows no output whatsoever. Clean still works, but then I'm completely stuck because I can't rebuild any targets.
GNU make still works as expected. And, if I rebuild a target that way, I can debug it with Eclipse. But I still can't build anything with Eclipse.
So confused.
|
|
| | | |
Re: Cannot build: all build commands fail without error, do nothing. [message #632138 is a reply to message #631572] |
Mon, 11 October 2010 13:16   |
Eclipse User |
|
|
|
Thank you for your help. I'm sorry but I had to give up on using Eclipse this way, and I deleted the project that was having this problem. As I said, I've had this recur every time I've tried to build a project for this code. But, naturally, I couldn't reproduce it this time.
In the new project, a target called 'pwd' produces this output:
make pwd
make: *** No rule to make target `pwd'. Stop.
This makes sense to me and I don't think it should print the working directory.
But, before, when this problem is occurring, there is no output in the console tab at all. I've tried creating new targets when this happens and they don't work, either.
I will not delete this project, this time, and see if the problem recurs later.
I do have a copy of the old .cproject and .project files, though. Comparing them to the new ones shows many differences. But, it looks like there are multiple instances of the some variables in different places in both versions, so it's not easy to tell what is different, exactly. Maybe when it recurs, I'll be able to see what changed in the .cproject file, this time.
|
|
| | | |
Re: make is not executed, without error [message #758665 is a reply to message #757737] |
Thu, 24 November 2011 02:27  |
Eclipse User |
|
|
|
The make path is ok:
Maybe there was a problem with the Build location in the C/C++ Build settings, so the make has been started in another directory where it had nothing to do.
Now, it works fine, either with Build command = "make" or "/usr/bin/make".
|
|
|
Goto Forum:
Current Time: Sun Jul 13 01:00:17 EDT 2025
Powered by FUDForum. Page generated in 0.08159 seconds
|