how do I fix "failed to generate all binary outputs" error for FRDM k64f support package? ASAP PL

2 次查看(过去 30 天)
=== Build (Elapsed: 7 sec) ===
### Starting build procedure for model: redlight
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: C:\Windows\System32\redlight_ert_rtw
### Generated code for 'redlight' is up to date because no structural, parameter or code replacement library changes were found.
### Evaluating PostCodeGenCommand specified in the model
### Using toolchain: LCC-win64 v2.4.1 | gmake (64-bit Windows)
### 'C:\Windows\System32\redlight_ert_rtw\redlight.mk' is up to date
### Building 'redlight': "C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -f redlight.mk all
C:\Windows\System32\redlight_ert_rtw>set MATLAB=C:\Program Files\MATLAB\R2018b
C:\Windows\System32\redlight_ert_rtw>cd .
C:\Windows\System32\redlight_ert_rtw>if "" == "" ("C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -f redlight.mk all ) else ("C:\PROGRA~1\MATLAB\R2018b\bin\win64\gmake" -f redlight.mk )
gmake: redlight.mk: No such file or directory
gmake: *** No rule to make target `redlight.mk'. Stop.
C:\Windows\System32\redlight_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:\Windows\System32\redlight_ert_rtw>An_error_occurred_during_the_call_to_make
'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command,
operable program or batch file.
### Creating HTML report file redlight_codegen_rpt.html
### Build procedure for model: 'redlight' aborted due to an error.
Error:Error(s) encountered while building "redlight":
### Failed to generate all binary outputs.

回答(1 个)

Rishabh Gupta
Rishabh Gupta 2019-5-2
Hi Vaibhav,
I believe the issue requires further details and investigation. I would suggest you to contact MathWorks Technical Support for assistance.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by