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.
Hi
We have a stable CCS5.1 project for the C6670 device. This morning I found that a clean release build generates an .out file that works fine and the console of build output shows no errors. However, the CCS 'Problems' window shows multiple errors for main.c. The errors seem mainly to do with <ti/sysbios/knl/Task.h>, which I #include.
For example, one error is:
"Type 'Task_Params' could not be resolved".
However, compiler.opt contains:
-I"C:/ti/bios_6_32_04_49/packages"
so that should be fine. And, as I said, the .out file is generated ok, and no errors appear in the Console window for main.c.
The other observation is that the errors are marked in the editor window by a red bug icon. I usually see a red cross icon for errors.
Please will someone suggest what is going on?
Best regards
David
Hi David,
There is a known issue, 43492, which describes a similar issue where errors in the problems view from a previous build are not cleared when rebuilding (and the build is successful). The issue was specific to the 'Project->Build Automatically' option being enabled. Do you have this option enabled?
Thanks
ki
Hi ki
No, 'Project->Build Automatically' is not enabled. What is the workaround for 43492 to clear the errors?
David
I eventually cleared this problem by creating and using a new workspace.
BR
David
I have too many projects and didn't feel like re-creating my workspace...
This seemed to work for me:
After a rebuild with no Problems, "Run on demand" could be re-enabled without the annoying Errors? It might be "safer" to try with Project settings instead of Workspace..
Hi guys,
This issue is causing quite a bit of grief for me. Every time I build if I want the 'problems window' to reflect the latest build results I have to do a complete Clean and Rebuild of the project. I've tried creating a new workspace and the other preferences change with no luck.
Is there any fix from TI? I am thinking about going back to v5 from v5.1 to avoid this issue.
Thanks
Adam
Hi all,
For me, this problem seemed to be related to having multiple build configurations set up for the project (i.e. can be seen if you right-click on the project and select Build Configurations -> Set Active).
I had errors in the Problems window which kept coming back, even though the code does actually build successfully (which could be seen because "**** Build Finished ****" appeared in the Console window). Typical behaviour was as follows:
For me, the misleading errors seem to be ones which are left over from a build from one of the other configurations. To get rid of them, I did the following:
Hope this helps.
Best wishes,
Bart
Looks like this problem is fixed in CCS5.3.0. The release notes mention the following bug fix:
SDSCM00044820 | IDE | ALL | CCS does not clear out errors in Problems view when building project even if the errors are no longer valid |