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.

Importing mixed tool chain projects



Hi All


I have a project in which I have configure 4 build configurations. One Debug, one Flash, one Lint and one TDD. In the TDD configuration I have selected the current toolchain as MinGW GCC. I have include the required paths and everything build OK. I quite like this configuration as it allows me to do most of my work in CCS6.

The problem comes when I try to import my project into another workspace. If I try to import the project as a CCS project I get the following error;

“See details below. Error: Import failed for project 'XXXX' because its compiler definition is not available. The project does not appear to be a 'CCS Project'. Please try importing it through the 'General > Existing Projects into Workspace' wizard.”

If I try to import the project as the general project then I get the following error;

“Please use the 'Code Composer Studio > CCS Projects' wizard to import the project 'XXXX'”

Is there any way to force CCS it import the project and overlook the “missing” compiler, or tell CCS about the existence of MinGW. By the way the TDD build uses a hand built makefile not the auto generated makefiles that I used for the CCS builds.

I am using CCS 6.0.1 with C2000 compiler 6.2.0 and DSP/BIOS 5.42.0.07 in a Windows 7 machine.

Kindest regards

  • Sorry for the slow reply on this.

    So you have a CCS project with multiple configurations.  Most of the configurations use the TI compiler but one uses GCC.  For the one that uses GCC you have somehow changed it to not use the TI Toolchain.

    How did you do this?  The TI toolchain plugin supports using both the TI compiler and GCC.  

    Did you dig into the advanced options and modify the toolchain?

    By default it should not let you select something other than the TI toolchain.

    The only way I can select a different toolchain is to uncheck the compatibility box.  Then it will show others.

    Is that what happened?  If you did not do this and simply just setup minGW gcc as the compiler to use you could try pointing CCS to this compiler installation before importing your project.

    You can tell CCS where a compiler is installed by going to Window->Preferences.  The go to the section below and add the location where the compiler is installed.

    Regards,

    John