• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » Code Composer Studio » Code Composer Forum » Error when importing projects to CCSv5
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • Error when importing projects to CCSv5

    Error when importing projects to CCSv5

    This question is answered
    bcsc888
    Posted by bcsc888
    on May 08 2012 13:17 PM
    Prodigy80 points

    Hello, 

    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.  

    Please advise.  

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on May 08 2012 14:50 PM
      Guru117055 points

      Hello,

      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.

      http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection#CCStudio_5.1

      Thanks

      ki

      -----------------------------------

      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

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • bcsc888
      Posted by bcsc888
      on May 08 2012 16:06 PM
      Prodigy80 points

      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.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • bcsc888
      Posted by bcsc888
      on May 09 2012 12:21 PM
      Prodigy80 points

      Hi, 


      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)

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Ki-Soo Lee
      Posted by Ki-Soo Lee
      on May 09 2012 14:16 PM
      Guru117055 points

      What is the device variant you have selected in your project properties?

      -----------------------------------

      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

       

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • bcsc888
      Posted by bcsc888
      on May 09 2012 15:39 PM
      Prodigy80 points

      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.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • AartiG
      Posted by AartiG
      on May 10 2012 10:40 AM
      Guru69085 points

      bcsc888
      edit: 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, CCSv4
      Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • bcsc888
      Posted by bcsc888
      on May 10 2012 11:29 AM
      Prodigy80 points

      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 v
      5.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.  

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • AartiG
      Posted by AartiG
      on May 14 2012 12:38 PM
      Guru69085 points

      bcsc888
      I 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?


      If a post answers your question please mark it with the "Verify Answer" button

      Search the wikis for common questions: CGT, BIOS,  CCSv3, CCSv4
      Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Baltasar Belyavsky
      Posted by Baltasar Belyavsky
      on May 16 2012 08:57 AM
      Expert4240 points

      One more thing - could you also attach the .cproject or .cdtbuild file (whichever one is present at the root of your project)?

      Thanks,

      - Baltasar

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • bcsc888
      Posted by bcsc888
      on May 16 2012 10:44 AM
      Verified Answer
      Verified by bcsc888
      Prodigy80 points

      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. 

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Baltasar Belyavsky
      Posted by Baltasar Belyavsky
      on May 16 2012 10:52 AM
      Expert4240 points

      Could you still send me the .cproject/.cdtbuild file, if possible?  

      Thanks,

      - Baltasar

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • tamo2
      Posted by tamo2
      on May 21 2012 13:42 PM
      Intellectual310 points

      H,

      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.

      Thanks.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • tamo2
      Posted by tamo2
      on May 21 2012 13:44 PM
      Intellectual310 points

      3426.cproject.txt

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Baltasar Belyavsky
      Posted by Baltasar Belyavsky
      on May 22 2012 11:05 AM
      Expert4240 points

      Hi tamo2,

      This doesn't look like a CCS project.  Try importing it with the "General > Import Existing Project into Workspace" wizard.

      - Baltasar

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • tamo2
      Posted by tamo2
      on May 22 2012 12:03 PM
      Intellectual310 points

      Hi Baltasar,

      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.  

      Thanks.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    12
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    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.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use