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.

CCSv6.1.1: Why would the Open declaration dialog box show two header files with same name in different directories?

Guru 20035 points

Hello,

Why would the Open declaration dialog box show two header files with same name in different directories?  One of the directories is where I imported (with copy) the project from.  The other directory is in my current project.

After importing the project, I had to change all the includes base directory from ORIGINAL_PROJECT_ROOT to ProjDirPath.  I did this by opening up the project file (.cproject) and renaming ORIGINAL_PROJECT_ROOT to ProjDirPath.  Is that the reason for the issue or do I need to change something else?

Also, is CCSv6.2 about to be released?

Stephen

  • Hi Stephen,

    It could be that the project has not yet been properly indexed after the changes. Can you rebuild it?

    6.1.3 is planned for end of March

    6.2.0 is planned for end of May

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

    Thanks

    ki

  • Rebuilding the index did not solve the problem.

    Other than bug fixes, what are some of the new features that will be in 6.2.0?

    Stephen

  • I just found out that the project file (.cproject) sets ProjDirPath equal to the original project directory (the directory where the project was imported from), i.e.

    For example, if the original project directory path was C:/OriginalDirectory, the project file has the following line:

    <stringMacro name="ProjDirPath" type="VALUE_PATH_DIR" value=". C:/OriginalDirectory"/>

    I did an import with copy, so why didn't the ProjDirPath get set equal to the new directory?

    Stephen

  • Ok, I think I know what is causing the issue.  Before renaming ORIGINAL_PROJECT_ROOT to ProjDirPath in the project file, the macro was as follows:

    <stringMacro name="ORIGINAL_PROJECT_ROOT"  type="VALUE_PATH_DIR" value=". C:/OriginalDirectory"/>

    Therefore, I need to also change the directory name.

    It would be nice if the CCS didn't change PROJECT_ROOT to ORIGINAL_PROJECT_ROOT or if we has an option to stop it from happening.

    Thanks,
    Stephen

  • It would still be nice to know what type of new features 6.2.0 will have.

    Thanks,

    Stephen

  • Thanks for the update (regarding the import issue).

    Some key new things planned for 6.2.0:
    -Eclipse 4.5 SR2
    -major Resource Explorer update
    -64-bit CCS for Linux (note that only 64-bit will be supported on Linux)