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.

Cannot run program "C:\ti\ccsv5\utils\bin\gmake": The directory name is invalid.

Anyone know what would cause the following error's?  Note: C:\ti\ccsv5\utils\bin\gmake is in the PATH: and it is on the file system in that location.

Thanks

C:\ti\ccsv5\utils\bin\gmake CCSVERSION=CCSV5 -k clean

"C:\\ti\\ccsv5\\utils\\bin\\gmake" CCSVERSION=CCSV5 -k clean
Cannot run program "C:\ti\ccsv5\utils\bin\gmake": The directory name is invalid.


Error: Program "C:\ti\ccsv5\utils\bin\gmake" not found in PATH
PATH=[C:/TI/ccsv5/eclipse/jre/bin/client;C:/TI/ccsv5/eclipse/jre/bin;C:/TI/ccsv5/eclipse/jre/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\ti\ccsv5\eclipse;C:\ti\ccsv5\utils\bin\gmake]

Error: Program "C:/ti/ccsv5/utils/bin/gmake" is not found in PATH

PATH=[C:/TI/ccsv5/eclipse/jre/bin/client;C:/TI/ccsv5/eclipse/jre/bin;C:/TI/ccsv5/eclipse/jre/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\ti\ccsv5\eclipse;C:\ti\ccsv5\utils\bin\gmake]

**** Build Finished ****

  • Brian,

    Could you provide more details on what you are trying to build? Is this an example project included with a TI software package or your own project?
    Is what you have posted above the full output seen in the CCS build console? If it is not, could you please copy and paste the full output to a file and attach it here?

  • Hi AartiG:

    I am trying to build VOLIB for C55x by following the instructions in the VOLIB: CCS Project Conversion ( prj_convert.html)  i.e.

    1. Open CCS version 5.X.
    2. Open the "Import Existing CCS/CCE Eclipse Project" Dialog under the "Projects" menu.
    3. Browse to the volib_C55_2_0_0_3\ccsProjects\ directory.
    4. Load the conversion project into CCS. The conversion project will be named VOLIB_C55_PROJECT_CONVERT. The dialog should appear as in Figure 1 below.

      import.jpg

      Figure 1. Eclipse CCS V5.X Project Import Dialog

    5. Right-click the project name in the Project Explorer pane and select "properties". This will open the Project Properties dialog. Click the "Show Advanced Settings" hyperlink in the lower left corner of the dialog if it is visible.

    6. Select "C/C++ Build" in the left-hand pane and click on the "Builder Settings" tab. Change CCSVERSION in the "Build Command" text box to read CCSVERSION=CCSV5. The dialog should appear as in Figure 2 below.

      convert_v5.jpg

      Figure 2. CCS V5.X Build Command Changes

    7. Build the project.
    8. The above step converts all VOLIB component Unit Test CCS projects in the volib_C55_2_0_0_3\packages\ti\mas\ directory such that they will load and build with CCS version 5.x

    Step 7. is where I'm at.  Hear is the complete console output.

    **** Build of configuration Debug for project VOLIB_C55_PROJECT_CONVERT ****

    C:\ti\ccsv5\utils\bin\gmake CCSVERSION=CCSV5 -k .projects

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" CCSVERSION=CCSV5 -k .projects
    Cannot run program "C:\ti\ccsv5\utils\bin\gmake": The directory name is invalid.


    Error: Program "C:\ti\ccsv5\utils\bin\gmake" not found in PATH
    PATH=[C:/ti/ccsv5/eclipse/jre/bin/client;C:/ti/ccsv5/eclipse/jre/bin;C:/ti/ccsv5/eclipse/jre/lib/i386;C:/Users/bflinn/AppData/Local/Temp/ijtmp_511C9FAE-F15B-40BA-8AF1-9BA94E4A8ECF/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ti\ccsv5\eclipse;]

    Error: Program "C:/ti/ccsv5/utils/bin/gmake" is not found in PATH

    PATH=[C:/ti/ccsv5/eclipse/jre/bin/client;C:/ti/ccsv5/eclipse/jre/bin;C:/ti/ccsv5/eclipse/jre/lib/i386;C:/Users/bflinn/AppData/Local/Temp/ijtmp_511C9FAE-F15B-40BA-8AF1-9BA94E4A8ECF/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ti\ccsv5\eclipse;]

    **** Build Finished ****

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

    This is a windows based install.

    Note:  CCSv5 is installed on C:\ti\ccsv4   and indeed gmake is in  c:\ti\ccsv5\utils\bin\  location.

    Please help, Thanks.

    Brian

  • Brian,

    It looks like some steps are missing in the prj_convert.html to ensure that paths and versions match up with your set up. This software package is created and maintainted by the C5000 team so they will be best qualified to help with this issue. I will move this thread to the C5000 device forum so it gets the right visibility.

  • I believe the missing step is at #6

    besides  Select "C/C++ Build" in the left-hand pane and click on the "Builder Settings" tab. Change CCSVERSION in the "Build Command" text box to read CCSVERSION=CCSV5   

    I changed Build location -> Build directory: from its default of ${BuildDirectory}    to   ${workspace_loc:/VOLIB_C55_PROJECT_CONVERT} by pressing the Workspace... button.

    This got rid of the

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" CCSVERSION=CCSV5 -k .projects
    Cannot run program "C:\ti\ccsv5\utils\bin\gmake": The directory name is invalid.

    and

    Error: Program "C:\ti\ccsv5\utils\bin\gmake" not found in PATH
    PATH=[C:/ti/ccsv5/eclipse/jre/bin/client;C:/ti/ccsv5/eclipse/jre/bin;C:/ti/ccsv5/eclipse/jre/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ti\ccsv5\utils\bin\gmake;C:\ti\ccsv5\eclipse;]

    Error: Program "C:/ti/ccsv5/utils/bin/gmake" is not found in PATH

    PATH=[C:/ti/ccsv5/eclipse/jre/bin/client;C:/ti/ccsv5/eclipse/jre/bin;C:/ti/ccsv5/eclipse/jre/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ti\ccsv5\utils\bin\gmake;C:\ti\ccsv5\eclipse;]

    **** Build Finished ****

    HOWEVER...

    Now I get

    **** Build of configuration Debug for project VOLIB_C55_PROJECT_CONVERT ****

    "C:\\ti\\ccsv5\\utils\\bin\\gmake" CCSVERSION=CCSV5 -k .projects
    gmake: Nothing to be done for `.projects'.

    **** Build Finished ****

    and of course the project is not converted....

    Please Help.

  • Brian,

    I posted a suggestion in http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/233759/828449.aspx#828449. Hope that works for you.

    Regards, Eric

  • Thanks for looking into this, Eric.

    Brian, have these recommendations fixed your CCS build issues?

    Regards,

    Walter