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.

Including problems

Other Parts Discussed in Thread: EK-TM4C1294XL

Hi everyone, I´ve been having this problem since a lot of time ago, when I want to import the CCSProjec example qs_iot from the TivaWare_C_Series-2.1.2.111 folder I get the following errors: 

I think these errors may be caused by the following including options:

I've tried to add paths just like:

C:\ti\TivaWare_C_Series-2.1.2.111\examples\boards\ek-tm4c1294xl

C:\ti\TivaWare_C_Series-2.1.2.111

etc...

But the issues carry on.

Probably the troubles are very easy to solve but the fact is that I just can't get it. 

I would apreciate somehelp! thanks in advanced! 

Martin

  • Hello Martin

    In the include option snapshot replace the second line with "${SW_ROOT}"

    Regards
    Amit
  • Hi Amit thanks for the quick response, I've tried replacing the second line with "${SW_ROOT}" :

    But I still have the same problems. When I import the CCS project, I have about 10 warnings:

    Perhaps the las picture, brings you more detailed information. It seems to me that no path is recognised.

    Apart form that is there any chance that I can solve this issues by copying all the headers and .c files in the porject folder?

    Thanks again!

    Martin

  • Hello Martin

    What is the SW_ROOT variable defined as? In the Build Settings, select Build and then Variables in side-menu.

    If it is not defined then define it with the path to the TivaWare installed on your PC.

    Regards
    Amit
  • Hi Amit, I've done what you said. Most of the errors have dissapear, howewer few of them remains:

    Do you know how can i solve them?

    Thanks in advanced

  • Hello Martin

    You would need to import the C files in CCS. It looks like all paths to the C files are broken.

    Regards
    Amit
  • Amit, I've done what you said, but when I import these files, I've got erorrs because these files needs others to work and this goes on and on... I think it is not an effective solution because I would be a long while importing .C files.

    However I could see in the description of the last errors I showed you, that they  are asociated to the building rules. In the following image you can see they are targeting to a directory in which there no such .C files:

    In fact these is the path I replace with the one you told me:

    So I don't know why these rules are generating these files targeting to wrong paths instead of the right ones. 

    I would apreciatte your help to fix these stuffs. 

    Thanks, Martin!

  • I've just re-installed the new version of the TivaWare_C_Series-2.1.3.156, the new version of the Lab files, the CCS and finally I leave the original workspace path proposed by the CCS. So when I compile the project, I modified the SW_ROOT build variable targeting it to the current TivaWare_C_Series-2.1.3.156 path and it works!

    Thanks Amit for your help.