MCUXpresso Error: Program "make" not found in PATH

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MCUXpresso Error: Program "make" not found in PATH

跳至解决方案
1,903 次查看
Larz
Contributor III

Goodday,

MCUXpresso 11.9.0_2144 gives an error when trying to build.

It gives me:

Error: Program "make" not found in PATH

PATH=[C:/NXP/MCUXpressoIDE_11.9.0_2144/ide//plugins/org.eclipse.ju.........etc

 

I see the double forward slash after "ide" and before "plugins".

I think thats my problem, but I cannot find the right place to edit this path.

Here the path is right:

Larz_0-1710079355680.png

 

And here is okey:

Larz_0-1710079464509.png

 

And here the path is also correct. 

Larz_1-1710079507432.png

 

Where must I edit this line?

0 项奖励
回复
1 解答
1,842 次查看
Larz
Contributor III

@EdwinHz 

I manualy enter the PATH in project -> properties -> C/C++ Build -> Environment. That seems to help because the first error is gone.

Now I have another problem when trying to build:

Larz_0-1710318382562.png

You see in the "Project Explorer" that the MCU is chip JN5189. But when you look at the "Problems" tab in the middel/under you see that the used SDKpackage for this project is K32W061. But I have the JN5189DK6 package.

Therefore I edited the Makefile and selected the correct chip.

 

Another try to build gives me an Error 2. Look at the Screenshot below in the "Problems" tab middle/under.

Larz_0-1710320044628.png

 

What do you suggest to do now? I've added the the Build Log as an attachment.

在原帖中查看解决方案

0 项奖励
回复
9 回复数
1,751 次查看
Larz
Contributor III

Nobody knows why the file "/Binaries/DimmableLight_NtagIcode_GpCombo_Ota_OM15081/obj/port_JN518x.d" is not in the map?

0 项奖励
回复
1,852 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Larz,

Try created a brand-new workspace, and importing an SDK example from the "Quick start Menu", as such:

EdwinHz_0-1710279102470.png

A simple Hello World will do. The objective is to see if the PATH disappearance is due to incompatibilities with the project you are using, or something else.

BR,
Edwin.

0 项奖励
回复
1,843 次查看
Larz
Contributor III

@EdwinHz 

I manualy enter the PATH in project -> properties -> C/C++ Build -> Environment. That seems to help because the first error is gone.

Now I have another problem when trying to build:

Larz_0-1710318382562.png

You see in the "Project Explorer" that the MCU is chip JN5189. But when you look at the "Problems" tab in the middel/under you see that the used SDKpackage for this project is K32W061. But I have the JN5189DK6 package.

Therefore I edited the Makefile and selected the correct chip.

 

Another try to build gives me an Error 2. Look at the Screenshot below in the "Problems" tab middle/under.

Larz_0-1710320044628.png

 

What do you suggest to do now? I've added the the Build Log as an attachment.

0 项奖励
回复
1,804 次查看
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

Hi @Larz ,

Could you please confirm that you followed the instructions listed in JN-AN-1260 Zigbee 3 Getting Started? Section 5.3 SDK Installation describes the steps required for a correct installation of the JN5189 SDK. Also, Section 5.9 Application Note Installation describes how to install, compile and program these App Notes.

 

Best Regards,

Ricardo

0 项奖励
回复
1,799 次查看
Larz
Contributor III

@Ricardo_Zamora Thank you for your reply.

That is exactly what I have done. The SDK seems to be installed the right way:

Larz_0-1710366886690.png

And also the JN-AN-1218 is also installed the way as descripted in JN-AN-1260

Larz_1-1710367042114.png

But still I get the error according the attachment Build Log.txt

The proces can not find file: /Binaries/DimmableLight_NtagIcode_GpCombo_Ota_OM15081/obj/port_JN518x.d

When I go to this map, I don't see this file either. Does it have to be made? Or is it not included in the file that I downloaded?

0 项奖励
回复
1,847 次查看
Larz
Contributor III

@EdwinHz Thank you for your reply.

When I import the Blink example SDK, the Path stays in the environment:

Larz_0-1710283561387.png

 

With a clean import of JN-AN-1244 the path is oke. But when I try building it gives me the error and the path is gone:

Larz_1-1710283662425.png

Larz_2-1710283732315.png

 

0 项奖励
回复
1,867 次查看
Larz
Contributor III

@EdwinHz 

Hai Edwin,Thank you for the reply.

The craziest thing happened. I imported JN-AN-1244, and checked the properties:

Larz_0-1710235522449.png

The path is there. Than I press "build" and I get the error. But then when I look at the properties:

Larz_1-1710235608879.png

The path is gone?!?!?

 

Could it have something to do with the settings Binary Parsers? I'm on a windows machine by the way...

Larz_2-1710235813067.png

 

And I checked the correct ones?

 

 

0 项奖励
回复
1,533 次查看
AdrianOltean
NXP Employee
NXP Employee

Note that the first screenshot the PATH is associated to a build configuration ("ExtendedColorLight...") whereas the "missing" PATH from the other screenshots are associated to other build configuration ("DimmableLight..."). Also pay attention to the build configuration that is being built.

Regards,

Adrian

0 项奖励
回复
1,879 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @Larz,

Do you see this issue in every project you try to build or have you only tried one? For single projects, the path under "C/C++ Build" > "Environment" > "PATH", as such:

EdwinHz_0-1710191649443.png

You could also check here, but to open this you have to select project properties rather than IDE properties.

BR,
Edwin.

 

0 项奖励
回复