hello, I am getting this error "Failed to generate all binary outputs" again and again....what should I do?

조회 수: 2 (최근 30일)
this is the diagnostic viewer...I do not know what to do...please help me

답변 (4개)

Walter Roberson
Walter Roberson 2017년 5월 25일
Your directory is D:\study material followed by some more directories that also have spaces in the names. You need to rename your directories so that you not have any spaces in the names. For example D:\study_material would be fine at the top level (but remember to do the levels below that as well.)
  댓글 수: 5
Walter Roberson
Walter Roberson 2017년 5월 25일
Please look in D:/study_material/embedded_system/FRDM_KL25Z_ARM/RHIT_KL25Z_Library_R2015a/src and D:/study_material/embedded_system/FRDM_KL25Z_ARM/RHIT_KL25Z_Library_R2015a/include to see if you can see a core_cmInstr.h in either of them ?
core_cmInstr.h appears to normally live in a directory named Include inside of a package named CMSIS; see https://github.com/ARM-software/CMSIS/tree/master/CMSIS/Include . Another file named cmsis.h is expected to be in the same directory, but your version of that file is at D:/study_material/embedded_system/FRDM_KL25Z_ARM/RHIT_KL25Z_Library_R2015a/src/cmsis.h which is a "src" directory not an "include" directory. My first guess would be that you copied in part of CMSIS but missed copying in core_cmInstr.h and possibly other files

댓글을 달려면 로그인하십시오.


JUAN JOSE MUÑOZ
JUAN JOSE MUÑOZ 2018년 1월 20일
change the path of my file because the previous one had folders with space, my new route was: c: / desktop / test / archivosimulink, and it worked, thank you, I think that if you want to leave your route you should remove all the spaces to the folders the route
  댓글 수: 2
mohamed bernor
mohamed bernor 2018년 6월 8일
편집: Walter Roberson 2018년 6월 8일
i have the same issue and it still did not solved out i tries to change the path to a non spaced folder but the same error shows up .
this is the error code
Code Generation 1
Elapsed: 27 sec
### Generating code into build folder: C:\Users\Public\projetmcc3_ert_rtw
### Invoking Target Language Compiler on projetmcc3.rtw
### Using System Target File: C:\Program Files\MATLAB\R2017a\rtw\c\ert\ert.tlc
### Loading TLC function libraries
......
### Initial pass through model to cache user defined code
.
### Caching model source code
....................................
### Writing header file projetmcc3.h
.
### Writing header file projetmcc3_types.h
### Writing header file rtwtypes.h
### Writing header file multiword_types.h
### Writing source file projetmcc3.c
### Writing header file projetmcc3_private.h
.
### Writing source file projetmcc3_data.c
### Writing header file rtmodel.h
### Writing source file ert_main.c
### TLC code generation complete.
### Generating TLC interface API.
..........
### Creating data type transition file projetmcc3_dt.h
.### Evaluating PostCodeGenCommand specified in the model
### Using toolchain: Arduino AVR v1.6.13 | gmake (64-bit Windows)
### Creating 'C:\Users\Public\projetmcc3_ert_rtw\projetmcc3.mk' ...
### Building 'projetmcc3': "C:\PROGRA~1\MATLAB\R2017a\bin\win64\gmake" -f projetmcc3.mk all
Walter Roberson
Walter Roberson 2018년 6월 8일
Everything looks okay up to there; no error message is shown in what you posted. Was there more?

댓글을 달려면 로그인하십시오.


POOJA Verma
POOJA Verma 2018년 7월 18일
My diagnostic views is attached please help me with the problem as it says that ''failed to generate all the binary outputs''.

POOJA Verma
POOJA Verma 2018년 7월 18일
Simulation [4 filtered] [8 filtered] 1 Clear
03:07 PM Elapsed: 30 sec
Code Generation [2 filtered] [8 filtered]
Elapsed: 22 sec
Error(s) encountered while building "Project":
### Failed to generate all binary outputs.
Component: Simulink | Category: Model error

카테고리

Help CenterFile Exchange에서 Code Generation for ARM Cortex-M and ARM Cortex-A Processors에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by