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.

Project Path warning while importing



I am importing a CCSv5 project (using CCSv5) and am getting the following warning:


Invalid project path: Duplicate path entries found (/lte_enc_bcp [Include path] isSystemInclude:true includePath:C:/Program Files/Texas Instruments/pdk_C6670_1_0_0_11/packages), path: [/lte_enc_bcp]. lte_enc_bcp  pathentry Path Entry Problem

Where do I go to find out more information regarding this warning?  For example, was this generated while reading the macros.ini file?  Also, what is "isSystemInclude"?   Thanks.

  • It looks like you're importing a project from the PDK C6670 packages. Despite the warning, the project should still build correctly.


    To remove this warning, select your project and browse to Project -> Properties -> C/C++ Build -> Settings. Under the C6000 Compiler, select "Include Options" and you should see a duplicate path entry. It might look something like:

    "${PDK_INSTALL_PATH}"

    "${PDK_INSTALL_PATH}/ti/drv/bcp/example"

    That first include path is the root path of PDK and includes everything in the package (including the subdirectory include path underneath it, hence the "Duplicate path entries"). Removing the first include path should remove the warning that you see.

    This warning is not generated while reading the macros.ini file. It is generated during our project creation scripts (which does not check for duplicate path entries). You will still need macros.ini to build. We expect to fix these duplicate path entries in upcoming releases.

    "isSystemInclude" is an eclipse command for including system paths. This function does not cause the warning you see. The function itself can be found here: http://eclipsesourcecode.appspot.com/jsrcs/org.eclipse.cdt/all/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/IncludeEntry.java.html

     

    Please let me know if you need more information about this issue.

  • Check the include paths in your project compiler options. I suspect there are 2 macros/paths that point to the same location. CCS5 is more aggressive than CCSv4 in reporting duplicate include paths which is the reason for this warning.