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 from the command line, import fails, compiler definition is not available.

Other Parts Discussed in Thread: CCSTUDIO

c:\ti\ccsv5\eclipse\eclipsec.exe -nosplash -data C:\Users\x0183614\workspace_v5_prime_int_u -application com.ti.ccstudio.apps.projectImport -ccs.location \dspsrdc_csa\emeter\dsp_c28x\PLC_AppBoot

--------------------------------------------------------------------------------
Importing project from '/dspsrdc_csa/emeter/dsp_c28x/PLC_AppBoot'...

  !ERROR: Import failed for project 'PLC_AppBoot' because its compiler definition is not available.
Please install the C2000v6.1 compiler before importing this project.

This never fails when using the GUI.

If I re-order the imports, everything works.

The C2000v6.1 compiler is installed.

I think there is a problem with the .cproject file that gets overlooked when using the GUI.  The line above is part of a nightly build script.

  • Bill Etcheverry said:

    If I re-order the imports, everything works.

    Do you mean that there are multiple import commands in the script and the order in which the projects are imported affects whether this one gives an error or not? Can you provide more details on this?

    Are all projects in the script being imported into the same workspace?

    Bill Etcheverry said:

    This never fails when using the GUI.

    When using the GUI to import, is it being imported to the same workspace as when using command line?

    Can you zip up the project folder PLC_AppBoot and attach it here so we can take a look at the project files?

  • 0755.myappboot.zip

    We only build **** Build of configuration Debug_F2806X for project PLC_AppBoot ****

    If doing imports from the command line, if the main project is imported first, the import fails.  If it is imported after another project, the import works.  I suspect that there is a small error with the main project files that get overlooked if another project gets imported first.  Several other projects have the same issue.  Let me know what I need to fix.

  • Hi Bill,

    I've seen failed import on GUI as well, if you use Project->Import Existing CCS Eclipse Project and have "Automatically Import referenced projects" checkbox enabled, if the referenced project already exists in the workspace, maybe your command line has by default to import automatically referenced projects?

    Best regards,

    David.

  • Bill,

    I am not able to reproduce this error when importing through command line. Below are the steps I went through to try to reproduce this issue:

    - I tested with CCS 5.1.1 as I currently do not have 5.1.0 installed

    - Tried importing the project via command line using command: 
    eclipsec -noSplash -data c:\CCSv511\c2000_workspace -application com.ti.ccstudio.apps.projectImport -ccs.location C:\Work\0755.myappboot\myappboot\dsp_c28x\PLC_AppBoot

    - Got the same error as you, but this was because my CCS 5.1.1 installation did not have the compiler v6.1.0 installed:
      !ERROR: Import failed for project 'PLC_AppBoot' because its compiler definition is not available. Please install the C2000v6.1 compiler before importing this project.

    - Installed CGT 6.1.2 (latest version) and verified that CCS detected that version

    - Opened CCS GUI and imported the project to verify it worked. During import, both the "Copy projects into workspace" and "Automatically import referenced projects" were unchecked. This imported ok

    - Deleted the project from project explorer view and closed CCS

    - Imported the project to same workspace via command line, and there was no error either

    - Reopened CCS and verified that the project has imported ok

    I'm not really sure what could be different in your environment that could cause an issue. Could you go through my steps and check if I am missing something or doing something different from you to duplicate the problem?