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.

Removing include files



Hi there,

I have a maybe naive question. How can I remove the directories listed under the Includes folder, in the project view.

It seems like I can add new ones but there is no way to remove one. These directories come with the demo project. Now that I have make new include files, I want to remove the old ones.

I am using CCS5.1.

Thanks in advance!

Chunjian

  • Hi Chunjian,

    the look will depend on the target you are using but you can remove the include and search paths in the project properties.  These are the places you can find the various linked and searched directories/paths/variables

    Project->Properties->Resource->Linked Resources

    Build -> Build Variable tab

    Build -> xxxx Compiler -> Include Options

    Build -> xxxx Linker-> File Search Path

    You will see the options here to add, remove and manage these items.  Note that some of these can also be set at the workspace level as well via Window->Preferences from the main CCS menus.

    I hope this helps.

    Best Regards,

    Lisa

  • Thanks Lisa! But I tried that, and it turns out that the Include Directory in the project property window can not be deleted. I have attached a screen snapshot here.

    As you can see, when I select the directory " .../demos", the Delete button and edit button are inactivated. I can only delete those directories with bold face letters at the top of the list. Do you have any explaination about that?

    /Chunjian

  • Hi Chunjian,

    Are you using an MCSDK example or project?  It appears these are built in for that type of project.  Let me look into this and see if there is an option to remove it.  I will get back to you as soon as I have further feedback.

    Best Regards,
    Lisa

  • Hi Chunjian,

    I noticed one other thing.  Please make sure you are using/creating a CCS project.  Your options look different to mine slightly, and this is the reason.  I have a CCS project which then has the more specific target options etc.

    Please double check, create a new CCS Project and keep us informed.

    Best Regards,
    Lisa

  • Hi Lisa,

    What I did was to "import existing CCS project" from C:\TI\mcsdk_2_00_04_16\demos\image_processing\ipc\evmc6678l\master. You can try that, and you will find some of the include directory can't be deleted.

    BR

    Chunjian

  • Hi Chunjian,

    I can still not reproduce this and am able to remove all include directories.

    1) I imported the same example using the CCS Import as I mentioned.  I also select copy files into workspace

    2) I went project properties and cleared the paths in three areas.

    Build ->C6000 Compiler-> Include Options

    Build-> C6000 Linker -> File Search Path

    Build-> XDCtools-> Package Repositories

    Note that removing resources and libraries should be done with extreme caution.  Some of these may be needed by the project in order to function.  However, I hope this can help you further.

    Best Regards,
    Lisa