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.

Compiler/TM4C1294KCPDT: CCS 8.2 compiler issue

Part Number: TM4C1294KCPDT


Tool/software: TI C/C++ Compiler

Hi Folks,

I have installed  the CCS 8.2.0.00007 and I have created a new project (AFAIK there is no separated project for C and C++). After that I copied every sources from one of my formal project, set the necessary include path, predefined variables, whatever, but I cannot compile the project.

  • I use C++14 language dialect
  • I tested the origin project with CCS 7.4, it compiles just fine
  • If I open my C++ files (.cpp or .hpp) the intellisense is not highlight C++ keywords, like "class, virtual, etc"
  • I have lot's of error, that includes, such as "#include <string>" because file not found for "string" and I can only rework it, if I set file type specifier, however I had not have such a problem with formal CCS versions

Can anybody help me to get my project compillable again?

Regards,

Norbert

  • Norbert,

    Norbert Toth said:
    I have lot's of error, that includes, such as "#include <string>" because file not found for "string" and I can only rework it, if I set file type specifier, however I had not have such a problem with formal CCS versions

    Could you please save off the complete build log seen in the CCS build console, and attach it here?

    Norbert Toth said:
    I tested the origin project with CCS 7.4, it compiles just fine

    Is the same version of compiler tools used for the build with CCS 7.4 and 8.2?

    Could you try opening a new workspace in CCS 8.2 and importing your project into it to see if that makes a difference?

  • Since I haven’t heard back from you, I’m assuming you were able to move past this issue. If not, please post a reply with an update and the requested details. Thanks!
  • Hi,

    sorry for the late reply, I could solve the issue trough enforcing files to be treated as C++ files, however the intellisense, highlighting and the code navigation (pressing F3) not working.
    Can you help me how to solve it? Maybe is it a known issue?

    Regards
  • Norbert Toth said:
    Can you help me how to solve it? Maybe is it a known issue?

    Yes, that is a known issue in CCS 8.2. Please see this post. It will be fixed in the upcoming 8.3 release.

  • Does it affect that my .hpp files are treated as C headers instead of C++ header files?

    Regards
  • Norbert Toth said:
    Does it affect that my .hpp files are treated as C headers instead of C++ header files?

    Could you provide an example? What is the symptom you see as a result - build errors or navigation issues?