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.

CCS: ERROR: No valid Eclipse project can be found

Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

Hi,

I have the same issue: I try to build a CCS project "headless", but it cannot be imported.
The CCS project "Shared_IPC_Echo" is configured to produce a static lib.

Here is the build-log:

 $ ls -la /home/dock
total 64
drwxr-xr-x 1 dock dock 4096 Aug 26 11:44 .
drwxr-xr-x 1 root root 4096 Jul 22 12:10 ..
-rw-r--r-- 1 dock dock  220 Feb 25  2020 .bash_logout
-rw-r--r-- 1 dock dock 3771 Feb 25  2020 .bashrc
drwxr-xr-x 2 dock dock 4096 Jul 22 15:52 .oracle_jre_usage
-rw-r--r-- 1 dock dock  807 Feb 25  2020 .profile
drwxr-xr-x 1 dock dock 4096 Jul 22 12:10 .ssh
drwxr-xr-x 3 dock dock 4096 Jul 22 15:52 .ti
drwxr-xr-x 3 dock dock 4096 Aug 26 11:44 Shared_IPC_Echo
drwxr-xr-x 1 dock dock 4096 Jul 22 15:52 ccs_workspace
drwxr-xr-x 4 dock dock 4096 Aug 26 11:42 j721e-meta
drwxr-xr-x 1 dock dock 4096 Aug 26 11:44 psdk
drwxr-xr-x 2 dock dock 4096 Jul 22 15:52 ti
$ cd /home/dock/Shared_IPC_Echo && ls -la
total 64
drwxr-xr-x 3 dock dock  4096 Aug 26 11:44 .
drwxr-xr-x 1 dock dock  4096 Aug 26 11:44 ..
-rw-r--r-- 1 dock dock   525 Aug 26 11:44 .ccsproject
-rw-r--r-- 1 dock dock 17388 Aug 26 11:44 .cproject
drwxr-xr-x 8 dock dock  4096 Aug 26 11:44 .git
-rwxr-xr-x 1 dock dock    29 Aug 26 11:44 .gitignore
-rw-r--r-- 1 dock dock   818 Aug 26 11:44 .project
-rwxr-xr-x 1 dock dock  1208 Aug 26 11:44 CommonDefinitions.h
-rw-r--r-- 1 dock dock  2534 Aug 26 11:44 IPCTools.c
-rw-r--r-- 1 dock dock   901 Aug 26 11:44 IPCTools.h
-rw-r--r-- 1 dock dock   223 Aug 26 11:44 Messages.h

$ eclipse -noSplash -data /home/dock/ccs_workspace -application com.ti.ccstudio.apps.importProject -ccs.location "/home/dock"
--------------------------------------------------------------------------------
Importing project from '/home/dock'...
  !ERROR: No valid Eclipse project can be found at location '/home/dock'!

As you can see, my Shared_IPC_Echo does contain .ccsproject .cproject and .project file.

Can you help me? Other projects, which producing executable do work fine!

Best regards,
Thomas

  • Okay, I found the issue: The path to to ccs project must be given! Not to the containing folder of the ccs project.

    For my case: eclipse -noSplash -data /home/dock/ccs_workspace -application com.ti.ccstudio.apps.importProject -ccs.location "/home/dock/Shared_IPC_Echo"

    Regards,
    Thomas