hello, I am getting this error "Failed to generate all binary outputs" again and again....what should I do?
3 views (last 30 days)
Show older comments
Sanjana Dhiran on 25 May 2017
Commented: Walter Roberson on 18 Jul 2018
this is the diagnostic viewer...I do not know what to do...please help me
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.)
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 on 20 Jan 2018
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
Walter Roberson on 8 Jun 2018
Everything looks okay up to there; no error message is shown in what you posted. Was there more?
My diagnostic views is attached please help me with the problem as it says that ''failed to generate all the binary outputs''.
Walter Roberson on 18 Jul 2018
A gcc bug seems to be involved. Some work-arounds are discussed at https://github.com/arduino/Arduino/issues/3972
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
Find more on Code Generation for ARM Cortex-M and ARM Cortex-A Processors 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!