Failed to generate binary inputs.

8 visualizaciones (últimos 30 días)
MANAS MISHRA
MANAS MISHRA el 13 de Mzo. de 2019
Respondida: Shivam Lahoti el 11 de Oct. de 2024
I am trying to build the model in MATLAB 2018b using TMS320F28377S (ccs 7.3). I am getting the following error while tring to run the code in external mode (COM PORT is correct.)
### Creating CCS Project at : C:\Users\hp\Documents\MATLAB\FFT_manas_ert_rtw\CCS_Project ### CCS project created successfully Open project in Code Composer Studio.
### Using toolchain: Texas Instruments C2000 Code Generation Tools v16.9.2 | gmake (64-bit Windows) ### 'C:\Users\hp\Documents\MATLAB\FFT_manas_ert_rtw\FFT_manas.mk' is up to date ### Building 'FFT_manas': "E:\MATLAB\R2018b\bin\win64\gmake" -B -f FFT_manas.mk all C:\Users\hp\Documents\MATLAB\FFT_manas_ert_rtw>cd . C:\Users\hp\Documents\MATLAB\FFT_manas_ert_rtw>if "" == "" ("E:\MATLAB\R2018b\bin\win64\gmake" -B -f FFT_manas.mk all ) else ("E:\MATLAB\R2018b\bin\win64\gmake" -B -f FFT_manas.mk ) C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/bin/cl2000 --compile_only --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -i"/~SupportFiles/DSP280x_headers" -i"/~SupportFiles/DSP280x_headers/include" -i"C:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/3P778C~1.INS/TIC200~1.INS/TI-CGT~1.LTS/include" -O2 --define="EXTMODE_DISABLEPRINTF" -v28 --float_support=fpu32 -ml -DF28377S -DBOOT_FROM_FLASH=1 -DMODEL=FFT_manas -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DON_TARGET_WAIT_FOR_START=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=1 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DCPU1 -DF2837X_REG_FORMAT -DMW_F2837XS -DSTACK_SIZE=512 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DF28377S -DBOOT_FROM_FLASH=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DEXT_MODE=1 -DINTEGER_CODE=0 -DMT=1 -DTID01EQ=0 -DON_TARGET_WAIT_FOR_START=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DCPU1 -DF2837X_REG_FORMAT -DMW_F2837XS -DSTACK_SIZE=512 -DRT -DF28377S -DBOOT_FROM_FLASH=1 -DMODEL=FFT_manas -DNUMST=2 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/Users/hp/Documents/MATLAB -IE:/MATLAB/R2018b/toolbox/shared/spc/src_ml/extern/include -IE:/MATLAB/R2018b/toolbox/shared/dsp/vision/matlab/include -IC:/Users/hp/Documents/MATLAB/FFT_manas_ert_rtw -IC:/Users/hp/DOCUME~1/Arduino -IE:/MATLAB/R2018b/extern/include -IE:/MATLAB/R2018b/simulink/include -IE:/MATLAB/R2018b/rtw/c/src -IE:/MATLAB/R2018b/rtw/c/src/ext_mode/common -IE:/MATLAB/R2018b/rtw/c/ert -IE:/MATLAB/R2018b/toolbox/coder/rtiostream/src/utils -IE:/MATLAB/R2018b/toolbox/physmod/powersys/facts/facts -IE:/MATLAB/R2018b/toolbox/physmod/powersys/DR/DR -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/inc -IE:/MATLAB/R2018b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/SUPPOR~1/tic2000/src -IC:/ti/CONTRO~1/DEVICE~1/F2837xS/v191/F2837X~1/include -IC:/ti/CONTRO~1/DEVICE~1/F2837xS/v191/F2837X~3/include -IC:/ti/CONTRO~1/DEVICE~1/F2837xS/v191/F2837X~1 -IE:/MATLAB/R2018b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2018b/toolbox/target/shared/EXTERN~1/include --output_file=DAHostLib_rtw.obj E:/MATLAB/R2018b/toolbox/shared/spc/src_ml/extern/src/DAHostLib_rtw.c "E:/MATLAB/R2018b/toolbox/shared/spc/src_ml/extern/include/DAHostLib_rtw.h", line 15: fatal error: cannot open source file "dlfcn.h" 1 catastrophic error detected in the compilation of "E:/MATLAB/R2018b/toolbox/shared/spc/src_ml/extern/src/DAHostLib_rtw.c". Compilation terminated. >> Compilation failure gmake: *** [DAHostLib_rtw.obj] Error 1 C:\Users\hp\Documents\MATLAB\FFT_manas_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 C:\Users\hp\Documents\MATLAB\FFT_manas_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 FFT_manas_codegen_rpt.html
### Build procedure for model: 'FFT_manas' aborted due to an error.
Error(s) encountered while building "FFT_manas": ### Failed to generate all binary outputs.

Respuestas (1)

Shivam Lahoti
Shivam Lahoti el 11 de Oct. de 2024
Hi Manas ,
I understand you are encountering a “Failed to generate all binary outputs” error in MATLAB.
This particular error message is generic and could appear due to multiple reasons. The first approach would be to investigate further and get a detailed error message. Please refer the following MATLAB Answer to understand more about this issue and approaches adopted to resolve this issue:
I hope the approaches mentioned in the above-mentioned community post would help you resolve this issue.
Regards,
Shivam

Categorías

Más información sobre Application Deployment en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by