ID #1043

Error "Nothing to build for project XXX" when using Eclipse CDT?

When using Eclipse for C/C++ projects with CDT, you have the proper configuration, and you have the correct source file, but the build just does not work. Instead, it shows you the message forever:

Nothing to build for project XXX...

The reason is very likely that you end your source files with capital letters, e.g, a.C, a.H, a.CPP, which are NOT recognized by not-so-clever Eclipse CDT plugins.. What a stupid error (or bug Undecided)!

Categories for this entry

Tags: eclipse

Related entries:

You can comment this FAQ

Comment of Al Sam:
Do you how much I have been wandering around to find out the problem with my code, setup, and everything else. After I read this artcile it seems stupid, but after I changed the .C to .c everyhting solved. Thanks a lot.
Added at: 2013-11-21 18:18