Error : Program "" not found in PATH

cancel
Showing results for 
Search instead for 
Did you mean: 

Error : Program "" not found in PATH

7,949 Views
russlyttle
Contributor I

Using KDS 2.0 and KDS 3.0.

Same error both versions.

How do I fix that error?  Full Console output:

 

09:43:31 **** Incremental Build of configuration Default for project 349_000022 ****

all

Cannot run program "": Launching failed

 

 

Error: Program "" not found in PATH

PATH=[C:\Freescale\KDS_2.0.0\eclipse\../bin;C:\Freescale\KDS_2.0.0\eclipse\../toolchain/bin;C:/Freescale/KDS_2.0.0/eclipse//features/com.somniumtech.jre.win32.win32.x86_1.7.0.60-b19/jre/bin/client;C:/Freescale/KDS_2.0.0/eclipse//features/com.somniumtech.jre.win32.win32.x86_1.7.0.60-b19/jre/bin;C:/Freescale/KDS_2.0.0/eclipse//features/com.somniumtech.jre.win32.win32.x86_1.7.0.60-b19/jre/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Freescale\KDS_2.0.0\eclipse]

 

 

09:43:31 Build Finished (took 80ms)

Labels (1)
0 Kudos
9 Replies

2,641 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello russ,

When the console show this error ? After you build one project ? if yes , how about the project ? with KSDK ? ...

Please describe the process what did you do 。

BR

Alice

0 Kudos

2,641 Views
russ_lyttle
Contributor I

Thanks for the reply,

The problem occurs immediately upon clicking the hammer icon to start a build. As it says, the build terminated after 80ms. No elf or *.d files get generated.

Another project in the same workspace builds just fine.

Operating system is Windows 7.

0 Kudos

2,641 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello russ,

Please send your project  on KDS3.0 to me , i will test it on my side.

BR

Alice

0 Kudos

2,641 Views
russlyttle
Contributor I

Hi,

Sorry I can’t share the code. However, we have moved beyond the original question. If we delete one file from the build, the problem goes away. The magic number seems to be 400 files in the project. One line in the build is over 4000 characters long. That line has lists all the *.o and other files needed for the build. Are there some limits on the number of files or length of lines in the KDS?

Thanks

0 Kudos

2,641 Views
BlackNight
NXP Employee
NXP Employee

Yes, there is a limit of 8192 characters on Windows:

Solving the 8192 Character Command Line Limit on Windows | MCU on Eclipse

So maybe this is your problem?

Erich

0 Kudos

1,212 Views
shyamsundar121
Contributor II

Hi

Even I am facing same issue. Please help me to resolve it.

 

 

15:38:32 **** Build of configuration Debug for project _2W_60V_NXP_ADI_IIT ****
-j8 all
Cannot run program "": Launching failed

Error: Program "" not found in PATH
PATH=[C:/NXP1/S32DS_ARM_v2018.R1/eclipse/jre/bin/client;C:/NXP1/S32DS_ARM_v2018.R1/eclipse/jre/bin;C:/NXP1/S32DS_ARM_v2018.R1/eclipse/jre/lib/i386;C:\Program Files\MinGW\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2021.10\bin;C:\Users\TeNet\AppData\Local\Microsoft\WindowsApps;C:\NXP1\S32DS_ARM_v2018.R1\eclipse]

15:38:32 Build Finished (took 143ms)

 

0 Kudos

1,200 Views
ErichStyger
Senior Contributor V

Can you share the project or check if you exceed the 8k character limit on the command line?

0 Kudos

2,641 Views
tharonhall
Contributor IV

We work on the same project. I was able to build the KSDK HAL library and avoid building each module and the command line shrunk considerably. That should avoid the original program for the foreseeable future.

0 Kudos

2,641 Views
russlyttle
Contributor I

Very well might be. Didn’t see any lines that long, but some are very long and may reach that length if they get combined when passed to the dos shell.

Thanks

0 Kudos