gmake: *** No rule to make target

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

gmake: *** No rule to make target

ソリューションへジャンプ
3,337件の閲覧回数
joshua_hong
Contributor III

Hi,

I am using Matlab R2002a, installed and activated license for NXP Support Package S32K1xx and also NXP_MBDToolbox_S32K1xx.

 

I have opened gpio_s32k11x example project, and trying to generate the code using Embedded Coder, but encounter the following error message. will you be so kind to check the error message and advise a solution to correct the error?

 

 

 

E:\Program Files\NXP MBDT\gpio_s32k11x_mbd_rtw>set MATLAB=E:\Program Files\Matlabr2020a 

E:\Program Files\NXP MBDT\gpio_s32k11x_mbd_rtw>call  "\\HP-HP\E$\Program Files\Matlabr2020a\bin\win64\checkMATLABRootForDriveMap.exe" "\\HP-HP\E$\Program Files\Matlabr2020a"   1>mlEnv.txt 

E:\Program Files\NXP MBDT\gpio_s32k11x_mbd_rtw>for /F %a in (mlEnv.txt) do set "%a"\n 

E:\Program Files\NXP MBDT\gpio_s32k11x_mbd_rtw>set "MATLAB_ROOT=H:"\n 

E:\Program Files\NXP MBDT\gpio_s32k11x_mbd_rtw>set "ALT_MATLAB_ROOT=H:"\n 

E:\Program Files\NXP MBDT\gpio_s32k11x_mbd_rtw>set "MATLAB_BIN=H:\bin"\n 

E:\Program Files\NXP MBDT\gpio_s32k11x_mbd_rtw>set "ALT_MATLAB_BIN=H:\bin"\n 

E:\Program Files\NXP MBDT\gpio_s32k11x_mbd_rtw>cd . 

E:\Program Files\NXP MBDT\gpio_s32k11x_mbd_rtw>if "" == "" ("E:\Program Files\Matlabr2020a\bin\win64\gmake" MATLAB_ROOT=H: ALT_MATLAB_ROOT=H: MATLAB_BIN=H:\bin ALT_MATLAB_BIN=H:\bin  -f gpio_s32k11x.mk all )  else ("E:\Program Files\Matlabr2020a\bin\win64\gmake" MATLAB_ROOT=H: ALT_MATLAB_ROOT=H: MATLAB_BIN=H:\bin ALT_MATLAB_BIN=H:\bin  -f gpio_s32k11x.mk  ) 
gmake: *** No rule to make target `E:/Program', needed by `gpio_s32k11x.obj'.  Stop.

E:\Program Files\NXP MBDT\gpio_s32k11x_mbd_rtw>echo The make command returned an error of 2 
The make command returned an error of 2

E:\Program Files\NXP MBDT\gpio_s32k11x_mbd_rtw>exit 1 

Error(s) encountered while building "gpio_s32k11x":
### Failed to generate all binary outputs.

 

 

 

ラベル(1)
0 件の賞賛
1 解決策
3,330件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @joshua_hong ,

Maybe the issue is caused by the spaces you have in the path. Typically we noticed this in previous Matlab versions on PIL usecases.

mariuslucianand_0-1608063880979.png

I would try to reinstall our toolbox in a path with no spaces. Let's say E:/NXP_MBDT. Let's see if this solves your issue.

Hope this helps,

Marius

 

元の投稿で解決策を見る

2 返答(返信)
3,315件の閲覧回数
joshua_hong
Contributor III

Hi @mariuslucianand,

thanks for advising on the matter. I have reinstalled the toolboxes in paths without space and there are no more build errors

0 件の賞賛
3,331件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @joshua_hong ,

Maybe the issue is caused by the spaces you have in the path. Typically we noticed this in previous Matlab versions on PIL usecases.

mariuslucianand_0-1608063880979.png

I would try to reinstall our toolbox in a path with no spaces. Let's say E:/NXP_MBDT. Let's see if this solves your issue.

Hope this helps,

Marius