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.

c6000/include files error compilation

i'm getting compilation error from the files under c6000/include folder. these folders consist of the math.h, iostream.h etc files.
is it possible for these files to get error since it's provided by ti.

also, on my other projects, these include files are no problem. only to this specific project is giving me this error.

files that in trouble are exception, new and iosfwd

the errors example are:

1. indentifier " something" is undefined
2. expected a ")" or ";"
3. explicit type is missing 

among bunch of other errors. most common are number 2 and i got 100 of these errors.

thanks

  • Hi,

    First, let me ask you if is not the problem that I got once. I had the .c file with the main() and others functions that worked fine, so I decided to make a backup of the .c file, I copied and pasted it in CCS so I had main.c and copyofmain.c. When I built the project again I got lot of errors like yours, because I had two main().The solution was: right click on copyofmain.c -> Resource Configurations -> Exclude from Build -> Select All -> OK, you'll notice that the file is grayed out in the project explorer.

    If this is not your problem, let me suggest more things:

    The compiler is able to include the headers or it gives an error saying that couldn't find them? You can try clean the project and rebuild it or maybe change the project to other workspace.

    Also maybe there's one error in the code that is triggering the other errors.

    Maybe if one of the admins move this question to the compiler forum it will get more help.

    Regards