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.

Unable to fetch include files even tough the include folder and subfolders are included through include path

Hi,

I am using CCS12.1, I am observing the include files can be seen in the include path list , but still CCS unable to locate few header files from the folder during compilation.

I have noticed other header files from the same location are still detected by CCS during compilation, the problem occurs with few files only.

The subfolders are included in the below manner.

             Project-> Properties->Include Options->Add Dir -> ${PROJECT_ROOT}/SubFolder1/SUbFolder2

Is there a workaround for this ?

  • The reason is because project sub-folders can have their own #include search list which overrides (ignores) paths added to the project properties. Either remove the override condition or add the #include to the sub-folder list although I'm not sure under what circumstances the latter is useful.

  • Kier is correct. Please check for this. If you continue to have issue, please provide your full build output.

    Thanks

    ki