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/CCSTUDIO: CG_TOOL_ROOT Path Variable change

Part Number: CCSTUDIO

Tool/software: Code Composer Studio

Hi, 

I am using Code Composer Studio 7.2. When I tried to build "FFT_SP_Example_674_LE_ELF" project, I have error message.

While I am trying to fix error message I found out that "CG_TOOL_ROOT" value is not set properly at my CCS as below picture.

I am trying to change CG_TOOL_ROOT variable,  but edit button is not available for CG_TOOL_ROOT. 

Please let me know how I can change CG_TOOL_ROOT path variable.

  • Hello Jay,

    what Linked Resources tab is showing?
    Which package do I need to load your example project?
  • Jay Park said:

    While I am trying to fix error message I found out that "CG_TOOL_ROOT" value is not set properly at my CCS as below picture.

    I am trying to change CG_TOOL_ROOT variable,  but edit button is not available for CG_TOOL_ROOT. 

    Do you wish to change CG_TOOL_ROOT because you want the project to use a different version of the compiler tools, or is your concern about the Korean Won sign which is displayed in place of the "\" (backslash) symbol?

    If you want the project to use a different compiler version, then please refer to the steps in this page. The CG_TOOL_ROOT variable cannot be directly edited but will automatically get set based on the compiler version selected in the project properties.

    If your concern is about the Won sign, then I believe that is because of the language setting on your Windows. Please take a look at this article which talks about a similar issue with Japanese language. I'm curious how this is impacting the build though. What type of error message is it generating?

  • Hi Jay,

    I have no doubts that AartiG has solved your issue.
    I have an amateur 1 year plus experience with TI tools and time to time I loose paths, context and dependences.
  • Thank you for prompt and kind answer.

    I wish to change CG_TOOL_ROOT because current variable setting of D:\TI\c6000_7.4.23 is not proper

    I am trying to use following example,

    D:\ti\dsplib_c674x_3_4_0_0\examples\fft_sp_ex  ( I installed DSP library on hard disk D:\)

    Thank you for kindly sending compiler installation site. But, it looks like that it does not solve my problem.

    The  "FFT_SP_Example_674_LE_ELF" project which is imported on my CCS has CG_TOOL_ROOT variable as "D:\ti\c6000_7.4.23"

    Please refer following picture. 

    My CCS also has "Benchmark_FFT_lcdkOMAPL138_c674ExampleProject"

    This project has  CG_TOOL_ROOT variable as "D:\ti\ti-cgt-c6000_8.2.2", properly. And this project has no error for build.

    Please let me know why 2 projects on my CCS have different CG_TOOL_ROOT variables. And please let me know how I can  make my "FFT_SP_Example_674_LE_ELF" project have proper CG_TOOL_ROOT variable as my "Benchmark_FFT_lcdkOMAPL138_c674ExampleProject".

    Thank you

  • Go to Project Properties -> General and change Compiler version to a desired release.
    That selection defines CG_TOOL_ROOT.
    You can install any supported tool chain using Help -> Install Code Generation Compiler Tools...
  • <<< Please let me know why 2 projects on my CCS have different CG_TOOL_ROOT variables.
    That projects were created at different time.
    Happened that c6000_7.4.23 is not supported anymore.
    Install c6000_7.4.24, change project setting to point to 7.4.24 and go ahead.
  • Jay Park said:
    Please let me know why 2 projects on my CCS have different CG_TOOL_ROOT variables.

    The CG_TOOL_ROOT variable is auto populated based on the version of compiler tools selected in the Project Properties->General->Compiler version field. Your two projects likely have different versions selected there.

    Jay Park said:
    And please let me know how I can  make my "FFT_SP_Example_674_LE_ELF" project have proper CG_TOOL_ROOT variable as my "Benchmark_FFT_lcdkOMAPL138_c674ExampleProject".

    Go into the Project properties for FFT_SP_Example_674_LE_ELF project and change the Compiler version to 8.2.2.

    If you wish to change the compiler version to a version that is not installed in CCS, then you would need to first install it and have CCS discover it using the steps in the article I linked to in my previous post.

  • Thank you for kind and clear reply.

    This measure solved my problem.