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

2 views (last 30 days)
=== 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.

Answers (1)

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

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!