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.

CCSv5.1 and I can't get projects to build anymore...

I've installed CCSv5.1 on my Ubuntu 11.04 Natty 64-bit box, and I'me trying to get my projects to build.  Unfortunately, I'm having TONS of problems.  Maybe I'm doing something wrong.  It's a C5510 project.

Problem 1 : The "onchip" compiler directive is unrecognized now.

Symbol 'onchip' could not be resolved blah_blah.c /lib_blah_blah line 90 Semantic Error

Problem 2 : MCBSP Hal includes seem to be borked.  I get tons of these now for every spot I used the CSL macros to configure a McBSP mode.
Symbol '_MCBSP_PCR_FMK' could not be resolved blah_blah_bob_loblaw.c /blah/blah line 957 Semantic Error
Problem 3 : Things like Arg and Uint32 aren't resolved.
Symbol 'Uint32' could not be resolved blah_blah_bob_loblaw.c /blah/blah line 992 Semantic Error
Type 'Arg' could not be resolved swis.c /blah/blob line 64 Semantic Error
Now, I have a sneaking suspicion that these are all actually the same problem... somehow relating to the compiler path.  But I've been going through include paths and tool paths, and I can't find it.  Any help TI mavens?

  • For some reason, it looks like __TMS320C55X__ is not getting define in the build.  Where does that usually get defined?

    That may just be a symptom, but it seems undefined.

  • What's interesting is that these errors are thrown like crazy (I get 132 of them), yet the build apparently succeeds.  My .out and .bin files are created in the output directory.  

    I'm just worried that they're not usable.  The "onchip" error in particular worries me.  My HWI_Attrs being undeclared kind of bothers me too.

    Any help TI?

  • Which build of CCSv5 are you using?

    Please see this post which explains the reason for the errors you are seeing. If you're on 5.1M7 this issue may still exist. To make those syntax errors go away, turn off the two checkboxes on the C/C++ General > Code Analysis > Launching page.