This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

"ERROR: no source files, nothing to do"



When I do a Build Build, each .c file compile line is followed by "ERROR: no source files, nothing to do".

What might be wrong that would cause these errors?And what can I do? (Note that each .c file has one of the error messages, so it does know about the .c files.)

  • Do you mean that each source file in your project was a little yellow icon with an exclamation mark on it? If yes, then this happens when linked files are used to add files to a project and those files can not be found. The most likely cause of this is that when you were importing the project in the Import Project wizard the option "Copy project into workspace" option was enabled. Thus I would delete the project in workspace and re-import it without that option enabled. If this does not fix, then unfortunately, there maybe few different causes. You may want to check this topic out for background information on how linked files are used in projects. It might give you clues as to what might be wrong. 

     

    http://processors.wiki.ti.com/index.php/Portable_Projects

     

    martin