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.

Build variable 'C5500_CSL_CG_ROOT' cannot be resolved.

Guru 15580 points


How can I re-define this variable? I can't seem to find it in CCS or my system environment variables.

  • Mike,

    We don't bundle CSL with CCS so it is not a variable that we define by default.  I think there is one case where we will define it if importing a legacy CCSv3.3 project and we can detect a CCSv3.x installation that has CSL in it.

    You can define the variable.  

    If you want to define it just for that project:  

    1. Right click on the project and select properties
    2. Select Build in the tree on the left
    3. select the Variables tab on the right
    4. Click the Add button to add a variable
    If you want to define it at the workspace level so it can be used by multiple projects:
    1. Go to Window -> Preferences
    2. Type Variables in the top left filter box.
    3. select C/C++ / Build / Build Variables in the tree on the left
    4. Click the Add button to add a variable
    Regards,
    John
  • John,

    Thanks for the guidance, but the variable is already defined somewhere in the project. I just can't figure out where. It does not appear in any of the variable tables/lists that you mention. Where else could it be hiding? FYI, the project was originally imported from a demo project in a different directory. I just want to get rid of this warning.

  • The warning would be there because it is used and not defined.  It is most likely used in an include path somewhere.  I would check build options and look at the include options for both the compiler and the linker.  

    John

  • John,

    JohnS said:
    It is most likely used in an include path somewhere.  I would check build options and look at the include options for both the compiler and the linker.  

    That was it! There was an old path declaration in the linker.

    Thanks!!