TI E2E Community
Code Composer Studio
Code Composer Forum
Incremental Build Isn't.
I am running into a problem where in some projects, particularly a project that was not created freshly but copied from an existing project, an incremental build will always rebuild all source files (except the XDC .cfg file which is thankfully built only once).
The problem is easy to reproduce in CCS 5.1.0 or 5.1.1:
1. In the Project Explorer pane, pick an existing project that incrementally builds properly.
2. Right-click, copy. Right-click, paste. Accept the default name and location for the copied project.
3. Build the new project several times. It will always rebuild the C and CPP files.
I am having the same problem with a very large project. I also get the following warning and wonder if it might be related:
Description Resource Path Location TypeThis project contains unresolved buildable linked resources. It might not build as expected. jsrbdspCCS51 project TI Problem Marker
I have been unable to determine the cause of either of these.
What is happening is that when you make a copy of an existing project using copy/paste inside the Project Explorer, the CCS project files themselves (.ccsproject, .cproject, .project) are updated and have a timestamp that is more recent than the generated object files. Hence this will trigger a rebuild.
Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.
Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.
Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide
Click here to track an issue. Enter your bug id in the "Find Record ID" box
That only explains the first rebuild. The problem is that all subsequent rebuilds will recompile all source files.
I only see the rebuild on the first incremental build. Subsequent incremental builds will not rebuild the files (for me). Could you can create a self-contained test case project where you always see the issue? I can try to see if it could be project specific.
Here is project demonstrating the problem. Actually, I wasn't able to create a new project and reproduce the problem with it, this only happened when creating a copy of an older project.
Thank you for the test case. Unfortunately it has some dependencies specific to your environment. Could you provide a very generic test case?
Ok, I think this should be better.
Thank you. I am able to build without any errors. I definitely see an issue with incremental build with it. It builds all the time like you said. I'm not sure if it was caused by the rename or something else but there is something wrong here. I have filed a bug for it. The tracking number is: SDSCM00043321.
I have the same problem with a project imported (not copied) from ccv3.2 to ccv5.1. It's a pretty big project so it takes about 10 minutes to build each time. Are there any solutions to this issue yet??
I just looked up the issue and it will be addressed in CCSv5.2. Currently it is in beta and will be released later this month.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.