This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Getting "No Source file" even after adding it to "User include directories"

Hi Nordic,

I have  added new files to my project and added their path to user include directories of common configurations. When I build I am getting this error "No Source file" . Should I add the path of the file in the files wherever they are included? Or adding path once is all to build the entire project?

Thanks in advance,

Nirupama.T

Parents Reply
  • Yes, I am doing the same, only adding the path of the file that too once. But it acts like wherever the files I have included, it asks for  path of the file there also.

    For Example, I am including abc.h file in 2 files like main.c and config.c .I have added them to the project. So i open main.c and click on "options" and include the path of the file. When I build, it throws error like "No source or directory" for the added file in config.c. So I should go to that file and open "options" and include the path for that file also. So this is how it behaves.

Children
Related