Archive for the 'solution' Category


how to get around a eclipse cdt less pleasant feature

I’m running Eclipse 3.2.2 with the CDT plugin. I installed this using ubuntu’s synaptic.

I hated the part where I needed to create my own makefile, but I got past that. For your information, my main target’s name is “all”, a name I think most of you use. The thing is, every once in a while, if I clean the project, I receive an error message saying:

make all 
make: Nothing to be done for `all'.

I don’t know if this can be fixed from within eclipse, but you can do this :

  • open a shell
  • go to the project’s directory
  • remove the created binary and the resulted object files
  • refresh the eclipse project and build it
  • that’s it!

I’ve used this with success, I hope it helps you. I also think I may be using an outdated CDT, but, this was the one existent in synaptic’s repository.

Blog Stats

  • 262,482 hits