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/TM4C123GH6PM: Problem: Build-variable "${COM_TI_INSTALL_DIR}" cannot be resolved

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: EK-TM4C123GXL

Tool/software: Code Composer Studio

Hi,
I could use some assistance with the following issue:
Development environment:
IDE: CCS Version: 7.1.0.00016 running on Windows 7 Professional with SP1, including all current updates.
Driver Library: Stellaris® Peripheral Driver Library: Software Driver Model API’s
Target: LaunchPad EK-TM4C123GXL (processor on-board TM4C123GHPMI
Problem details:
1. There is a yellow triangle next to the project in the Project Explorer, shown in the image below.
2. As a result, I am getting a Problem message: “Build-variable "${COM_TI_INSTALL_DIR}" cannot be resolved”.
The code builds and runs without errors.
Suggestions to resolve this problem will be appreciated.
Thanks, Bob
  • It appears that project is using a build variable that is not defined, hence cannot be resolved. You can check which variables are defined by right-clicking on the project and going to Properties->Build->Variables tab, and enable the "Show system variables" checkbox. Then make sure that any compiler include paths, linker search paths or other build settings in the project use the correct variable name.

    Hope this helps!

  • Hi AartiG,
    I have checked the "Show system variables" as shown on the image below.  “COM_TI_INSTALL_DIR” is not on the list.
    How do I add it?
    Thanks, Bob
  • Robert Samuel said:
    I have checked the "Show system variables" as shown on the image below.  “COM_TI_INSTALL_DIR” is not on the list.
    How do I add it?

    You can add a variable by clicking on the Add button in that screen. However, the bigger question is why you need that particular variable and which directory is it supposed to point to? Is it a custom one you want to create? I ask because there is already a system variable named COM_TI_TM4C_INSTALL_DIR that you could perhaps use. But yes, if you wish to create new variables, you can do so from that screen.

    There is also a way to set variables at the workspace level rather than project level, if you so desire. Please see this wiki section for the procedure.

  • Hi ArtiG,

    I have searched search, multiple times, all the item trees in Properties in all the Projects in the Project Explorer and in Window for any appearance of the Path Variable “COM_TI_INSTALL_DIR” and found none. Also, I know that I did not create it.

    I did review the wiki you recommended, and looked for the Path Variable at the location it directs. As noted above, I did not find it there.

    I have no idea where else to look for it.

    Possibly I am looking in the wrong places?

    Where do projects find the references to Path Variables?

    Do you have any additional suggestions?

    Thanks for your assistance,
    Bob

  • Hi ArtiG,

    I believe that I solved the problem.

    I decided to look into each of the project's folders, that had a Properties function, which I had not done in the past.

    I found the Path Variable “COM_TI_INSTALL_DIR” in three of the the folders and deleted them as you will see in the images below.

    As a result, the Problem indicator and notice disappeared once all three were deleted.  The code still runs as it was designed.

    It's a mystery to me how and/or why they were created, but enough time spent on this.  If it happens again, I'll re-post the issue.

    Thanks again for your help,

    Bob

    Problem solved:

    The folders were reviewed, and “COM_TI_INSTALL_DIR” was deleted in the following sequence: