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 "": Launching failed Error: Program "" not found in PATH

CCS Gurus,

I was sent an external project designed for C2000's F28M36x. I am unsure of what version the project was originally designed for, but given the timing of this device it was likely CCSv5 or CCSv6.  I am using 6.1.2.00015.

When I attempt to compile the project I receive the following for both the M3 and C28x projects.


**** Build of configuration {BUILD_CONFIG_NAME} for project {PROJECT_NAME} ****

{BUILD_CONFIG_NAME}  {PROJECT_NAME} all

{BUILD_CONFIG_NAME}  {PROJECT_NAME} all
Cannot run program "": Launching failed

Error: Program "" not found in PATH
PATH=[C:\ti\ccs03302016\ccsv6\ccs_base\common\bin;C:\ti\ccs03302016\ccsv6\ccs_base\common\uscif;C:\ti\ccs03302016\ccsv6\ccs_base\DebugServer\license;C:/ti/ccs03302016/ccsv6/eclipse/jre/bin/client;C:/ti/ccs03302016/ccsv6/eclipse/jre/bin;C:/ti/ccs03302016/ccsv6/eclipse/jre/lib/i386;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\ProgramData\Oracle\Java\javapath;C:\Perl64\site\bin;C:\Perl64\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;"C:\Program Files (x86)\Java\jre7\bin";C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files (x86)\GitExtensions\;C:\Program Files (x86)\Sennheiser\SoftphoneSDK\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Python27\;C:\Program Files\Perforce;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\ti\ccs03302016\ccsv6\eclipse;]

Error: Program "" is not found in PATH

PATH=[C:\ti\ccs03302016\ccsv6\ccs_base\common\bin;C:\ti\ccs03302016\ccsv6\ccs_base\common\uscif;C:\ti\ccs03302016\ccsv6\ccs_base\DebugServer\license;C:/ti/ccs03302016/ccsv6/eclipse/jre/bin/client;C:/ti/ccs03302016/ccsv6/eclipse/jre/bin;C:/ti/ccs03302016/ccsv6/eclipse/jre/lib/i386;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\ProgramData\Oracle\Java\javapath;C:\Perl64\site\bin;C:\Perl64\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;"C:\Program Files (x86)\Java\jre7\bin";C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files (x86)\GitExtensions\;C:\Program Files (x86)\Sennheiser\SoftphoneSDK\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Python27\;C:\Program Files\Perforce;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\ti\ccs03302016\ccsv6\eclipse;]

**** Build Finished ****

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

That looks mostly like my PATH variable, but with a few things added.  Here is my PATH:

C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\ProgramData\Oracle\Java\javapath;C:\Perl64\site\bin;C:\Perl64\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;"C:\Program Files (x86)\Java\jre7\bin";C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files (x86)\GitExtensions\;C:\Program Files (x86)\Sennheiser\SoftphoneSDK\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\Python27\;C:\Program Files\Perforce;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\

Thanks in advance,

Kris

  • Hi Kris,
    Can you send me this project also?

    Thanks
    ki
  • Kris,

    Can you go into the Project Properties->Build->Builder tab and check the settings there? It seems that the build command is not calling the default gmake.

    The default setting is to leave the checkbox "Use default build command" enabled. It sounds like there may be a custom setting in this project.
    Can you try enabling the default build command and see if that helps? 

  • Sorry for the delay in responses, it seems E2E isn't notifying of responses properly.

    It looks like this could be the issue. The "Use default build command is unchecked" and they have entered

    ${workspace_loc:/Application/Scripts/Build_utils/CcsBuildStep.cmd} ${ConfigName} ${ProjName}

    Changing this to the default has corrected the issue. Thanks for the help!

    Kris

  • Kris,

    So they were specifying a custom build command rather than using the default. If it is important that the project be built with that specific command rather than the default, then you would need the CcsBuildStep.cmd file that is being called there.
  • Hey AartiG,
    I am also dealing with the same issue, I am not able to build the code, I have added the path of the bin and also made the changes in the build tab.
    Help me on this please.