TI E2E Community
Code Composer Studio
Code Composer Forum
Error when importing projects to CCSv5
I recently upgrade to CCSv5, and whenever I try to import an existing project, I get the error:
Error: Import failed for project 'xyz' because its compiler definition is not available. Please contact support.
However, this only seems to happen to certain projects, while other projects are opened normally.
CCS is complaining that the project was configured to use a version of the compiler that it doesn't have in its list of available compilers. Are you using an older version of CCSv5? I though that an enhancement was made to automatically use the next available version in one of the later v5 version like 5.1.1.
You can also point CCS to the version of the compiler that the project originally used and import again.
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
Hi, Thanks for your response.I am using the newest version of CCS (5.1.1.00031) on my computer. On another computer (that can successfully import the project), that version of CCS is 5.1.0.09. I also looked up which compiler was being used on both computers. On my computer, it lists both ARM (TI v4.9.1) and C2000 (TI v6.0.2) as "Discovered Tools." On the second computer, it only has C2000 (TI v6.0.2), so it looks like both computers have the necessary compilers to run. CCS also does not let me "Remove" the ARM compiler, but I don't think it should cause any problems.
If it makes a difference, my computer are running 32-bit Windows 7 but the other computer uses 64-bit. Thanks.
As an update, here is something I saw that was suspicious in the .log file. Could this be the problem?
!ENTRY org.eclipse.ui 4 4 2012-05-08 10:16:03.570 !MESSAGE Referenced part does not exist yet: org.eclipse.cdt.ui.CView.
!ENTRY org.eclipse.ui 4 4 2012-05-08 10:16:14.241 !MESSAGE Referenced part does not exist yet: org.eclipse.cdt.ui.CView.
!ENTRY com.ti.ccstudio.scripting.console 2 0 2012-05-08 10:16:15.817 !MESSAGE Failed to setActiveScriptContext for class org.eclipse.rtsc.xdctools.model.ui.scripting.XGCONFScriptingService !STACK 0 java.lang.AbstractMethodError: org.eclipse.rtsc.xdctools.model.ui.scripting.XGCONFScriptingService.getScriptableObject()Lcom/ti/common/ui/scripting/console/CTIScriptableObject; at com.ti.ccstudio.scripting.console.internal.Activator.setActiveScriptContext(Activator.java:94) at com.ti.ccstudio.scripting.console.internal.Startup$1.safeRun(Startup.java:53) at com.ti.ccstudio.rhino.SafeRunnable.run(SafeRunnable.java:27) at com.ti.ccstudio.rhino.internal.RhinoThreadExecutor$1.run(RhinoThreadExecutor.java:67) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at com.ti.ccstudio.rhino.internal.RhinoThreadExecutor$RhinoThread.run(RhinoThreadExecutor.java:88)
What is the device variant you have selected in your project properties?
Sorry, but I'm not quite sure what you mean. Since no projects are open, when I go to Project >> Properties, I can't enter that path. But if I open a different project, it says that the Device family is C2000 and the variant is TMS320f28035. These are the devices I want to use for my project as well.edit: I should add that the files I am trying to import were created in CCSv4.
bcsc888edit: I should add that the files I am trying to import were created in CCSv4.
Do you know in which specific version of CCSv4 the original project was created? I have seen some instances where if the project was created with one of the very early versions of CCSv4 (4.0.x or 4.1.x), then it may not import properly into CCSv5. Importing the project first into a later version of v4 like 4.2.x and then into CCSv5 may help, but this would be highly dependent on the compiler version/build definitions it is relying on.
Is this an example project provided by TI that you are trying to import? If so, please let us know which one and we will see if we can reproduce the issue. If it is your own project, if you're willing to share the project we can try to reproduce it and look into it further. Also if there was a log file created in the project after the failed import, could you please attach that as well?
If a post answers your question please mark it with the "Verify Answer" button
Search the wikis for common questions: CGT, BIOS, CCSv3, CCSv4Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box
The project was created in CCS v5.1.0.09, and I am able to open the project using this machine. However, on two other machines, I cannot import this same project. The only difference is that the working machine uses CCS v5.1.0.09 and 64-bit Windows 7, and the other machines use CCS v5.1.1.00031. One of these machines uses 32-bit Win7, and the other is a Win XP machine. I will attach the Eclipse .log file here.
bcsc888I will attach the Eclipse .log file here.
There wasn't any file attached. Could you please re-attach the Eclipse log file as well as any project.log or migration.log file generated in the project folder?
One more thing - could you also attach the .cproject or .cdtbuild file (whichever one is present at the root of your project)?
Sorry, I had already taken down the .log files earlier. I installed v5.1.0.09 on my computer instead and it seemed to do the trick.
Could you still send me the .cproject/.cdtbuild file, if possible?
I am having the same issue. In my case, the project was created in CCS5.1.0.08030 (Linux) and having a problem opening it in 5.2.0.00069 (Linux). I have attached my .cproject file.
This doesn't look like a CCS project. Try importing it with the "General > Import Existing Project into Workspace" wizard.
Thanks for the reply.
> Try importing it with the "General > Import Existing Project into Workspace" wizard.
I tried it and indeed it worked (for those who are interested, it is, File > Import > Existing Projects into Workspace).
Just out of curiosity, what made you think that it is not CCS project? We did not save projects as non-CCS projects, at least intentionally, and we don't have any problem importing this project in CCS 5.1.0.08030.
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.