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.

CCS/TM4C123GH6PM: Include paths not passed to compiler

Part Number: TM4C123GH6PM


Tool/software: Code Composer Studio

Hi,

I'm using CCS version 7.1.0.00016.

When I add an include path in Project Properties -> Build -> ARM Compiler -> Include Options:

I can see the include path in the Project Explorer under "Includes":

But this path isn't passed to the compiler:

Anyone have any suggestions?

Thanks,

Matt

  • Hmm... I was experimenting with "Resource Filters" which appear related to the problem. Is it possible for a Resource Filter to filter out an include path?
  • Hi Matt,
    It looks like that include path is set up correctly and there are no file/folder specific options that would override it. But just to confirm, can you check the file specific properties on test_example.c (via right-click on the file and select 'properties' in the context menu) and see if the include search path in question also shows up there?

    Thanks
    ki
  • Hi Ki, thanks for the quick response.

    I didn't intentionally set any file specific properties on test_example.c, but I'm have trouble reproducing the issue now.
    I'm not sure if it's related, but when the issue was occurring, I had some "Include Only" Resource Filters enabled. Now I'm using some "Exclude" Resource Filters (including those on the include path) and it's working okay. I did have to clean the build to have the include path passed to compiler.

    If it happens again, I'll check the file specific properties.

    Thanks for your help.
  • Thanks for the update Matt. Glad to see it is all working now

    ki