Attempting to import an existing project into CCS, I get the error:
Import failed for project 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.
I have done a lot of digging and finally have it half solved I think. The .cproject
had a 3rd configuration to the build for unit tests; removing this was one of the key steps. Along the way I discovered a peculiar behavior:
1) Eclipse/CCS seems to remember that a project failed to import, and no matter what you do to fix it it will refuse (I've tried a lot of things). Once the name of the project in the .project
file is changed, Eclipse/CCS will "give it another chance" and import it. (I didn't try restarting Eclipse, maybe that might work too)
2) Eclipse/CCS also seems to remember that a project succeed to import. If I removed the recently imported project, then put back the configuration for unit tests in the .cproject file, then re-import, it succeeds! Seemingly ignoring whatever the original problem was.
I have yet to sift through the 3rd configuration settings to find out exactly what triggers the import failure. But I can't help thinking that somebody else must have seen this. I've found lots of questions on the TI website, but no explanations.