Error when compiling with CLA on TI C2000 MCU in Simulink. Can't find "cla_header.h"

1 次查看(过去 30 天)
Hi all!
I'm trying to program my TI f28379D microcontroller and would like to use the Control Law Accelerator but get errors when trying to compile into C-code. The compilation fails because the compiler couldn't open the file "cla_header.h". Could someone please help me with this problem? I'm using the hardware support package for ti c2000 MCUs.
Here's my diagnostics when trying to compile:
### Invoking Target Language Compiler on three_phase_SVPWM.rtw ### Using System Target File: C:\Program Files\MATLAB\R2016b\rtw\c\ert\ert.tlc ### Loading TLC function libraries Warning: The data type "int8" uses a word size that is not available on the intended target. Fixed-point signals using this data type will be put inside a larger word or multi words. When used, extra software will be generated to force this larger word or multi words to emulate a smaller word. This emulation is helpful when your prototype target and your final production target are not the same. If the smaller word size does NOT exist on the final production target, then consider increasing the word size to one that is supported. Warning: The data type "uint8" uses a word size that is not available on the intended target. . Warning: The data type "boolean" uses a word size that is not available on the intended target. ### Initial pass through model to cache user defined code ### Caching model source code ### Writing source file three_phase_SVPWM.c ### Writing header file three_phase_SVPWM_private.h ### Writing header file three_phase_SVPWM.h ### Writing header file three_phase_SVPWM_types.h . ### Writing source file three_phase_SVPWM_data.c ### Writing header file rtmodel.h ### Writing source file ert_main.c ### TLC code generation complete. ### Evaluating PostCodeGenCommand specified in the model ### Using toolchain: Texas Instruments C2000 Code Generation Tools v6.0.0 | gmake (64-bit Windows) ### 'C:\Users\Tony\Downloads\three_phase_SVPWM_ert_rtw\three_phase_SVPWM.mk' is up to date ### Building 'three_phase_SVPWM': C:\PROGRA~1\MATLAB\R2016b\bin\win64\gmake -B -f three_phase_SVPWM.mk all
C:\Users\Tony\Downloads\three_phase_SVPWM_ert_rtw>cd .
C:\Users\Tony\Downloads\three_phase_SVPWM_ert_rtw>if "" == "" (C:\PROGRA~1\MATLAB\R2016b\bin\win64\gmake -B -f three_phase_SVPWM.mk all ) else (C:\PROGRA~1\MATLAB\R2016b\bin\win64\gmake -B -f three_phase_SVPWM.mk ) D:/ti/ccsv6/tools/compiler/C2000_~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"D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla1 -v28 --float_support=fpu32 -ml -DCPU1 -DMW_DAC_CHANNEL_A -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016b/simulink/include/sf_runtime -IC:/Users/Tony/Downloads/three_phase_SVPWM_ert_rtw -IC:/Users/Tony/Downloads -IC:/PROGRA~1/MATLAB/R2016b/extern/include -IC:/PROGRA~1/MATLAB/R2016b/simulink/include -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/ert -IC:/Users/Tony/Downloads/slprj/ert/_sharedutils -IC:/PROGRA~1/MATLAB/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -ID:/ti/device_support/F2837xD/v190/F2837xD_common/include -ID:/ti/device_support/F2837xD/v190/F2837xD_headers/include -ID:/ti/device_support/F2837xD/v190/F2837xD_common -IC:/PROGRA~1/MATLAB/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/shared/externalmode_daemon/include -ID:/ti/libs/math/CLAmath/v400/include --output_file="MW_c2000DAC.obj" "C:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src/MW_c2000DAC.c" D:/ti/ccsv6/tools/compiler/C2000_~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"D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla1 -v28 --float_support=fpu32 -ml -DCPU1 -DMW_DAC_CHANNEL_A -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016b/simulink/include/sf_runtime -IC:/Users/Tony/Downloads/three_phase_SVPWM_ert_rtw -IC:/Users/Tony/Downloads -IC:/PROGRA~1/MATLAB/R2016b/extern/include -IC:/PROGRA~1/MATLAB/R2016b/simulink/include -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/ert -IC:/Users/Tony/Downloads/slprj/ert/_sharedutils -IC:/PROGRA~1/MATLAB/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -ID:/ti/device_support/F2837xD/v190/F2837xD_common/include -ID:/ti/device_support/F2837xD/v190/F2837xD_headers/include -ID:/ti/device_support/F2837xD/v190/F2837xD_common -IC:/PROGRA~1/MATLAB/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/shared/externalmode_daemon/include -ID:/ti/libs/math/CLAmath/v400/include --output_file="MW_c28xx_board.obj" "MW_c28xx_board.c" D:/ti/ccsv6/tools/compiler/C2000_~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"D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla1 -v28 --float_support=fpu32 -ml -DCPU1 -DMW_DAC_CHANNEL_A -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016b/simulink/include/sf_runtime -IC:/Users/Tony/Downloads/three_phase_SVPWM_ert_rtw -IC:/Users/Tony/Downloads -IC:/PROGRA~1/MATLAB/R2016b/extern/include -IC:/PROGRA~1/MATLAB/R2016b/simulink/include -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/ert -IC:/Users/Tony/Downloads/slprj/ert/_sharedutils -IC:/PROGRA~1/MATLAB/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -ID:/ti/device_support/F2837xD/v190/F2837xD_common/include -ID:/ti/device_support/F2837xD/v190/F2837xD_headers/include -ID:/ti/device_support/F2837xD/v190/F2837xD_common -IC:/PROGRA~1/MATLAB/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/shared/externalmode_daemon/include -ID:/ti/libs/math/CLAmath/v400/include --output_file="MW_c28xx_adc.obj" "MW_c28xx_adc.c" D:/ti/ccsv6/tools/compiler/C2000_~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"D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla1 -v28 --float_support=fpu32 -ml -DCPU1 -DMW_DAC_CHANNEL_A -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016b/simulink/include/sf_runtime -IC:/Users/Tony/Downloads/three_phase_SVPWM_ert_rtw -IC:/Users/Tony/Downloads -IC:/PROGRA~1/MATLAB/R2016b/extern/include -IC:/PROGRA~1/MATLAB/R2016b/simulink/include -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/ert -IC:/Users/Tony/Downloads/slprj/ert/_sharedutils -IC:/PROGRA~1/MATLAB/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -ID:/ti/device_support/F2837xD/v190/F2837xD_common/include -ID:/ti/device_support/F2837xD/v190/F2837xD_headers/include -ID:/ti/device_support/F2837xD/v190/F2837xD_common -IC:/PROGRA~1/MATLAB/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/shared/externalmode_daemon/include -ID:/ti/libs/math/CLAmath/v400/include --output_file="MW_c28xx_csl.obj" "MW_c28xx_csl.c" D:/ti/ccsv6/tools/compiler/C2000_~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"D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla1 -v28 --float_support=fpu32 -ml -DCPU1 -DMW_DAC_CHANNEL_A -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016b/simulink/include/sf_runtime -IC:/Users/Tony/Downloads/three_phase_SVPWM_ert_rtw -IC:/Users/Tony/Downloads -IC:/PROGRA~1/MATLAB/R2016b/extern/include -IC:/PROGRA~1/MATLAB/R2016b/simulink/include -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/ert -IC:/Users/Tony/Downloads/slprj/ert/_sharedutils -IC:/PROGRA~1/MATLAB/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -ID:/ti/device_support/F2837xD/v190/F2837xD_common/include -ID:/ti/device_support/F2837xD/v190/F2837xD_headers/include -ID:/ti/device_support/F2837xD/v190/F2837xD_common -IC:/PROGRA~1/MATLAB/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/shared/externalmode_daemon/include -ID:/ti/libs/math/CLAmath/v400/include --output_file="MW_c28xx_pwm.obj" "MW_c28xx_pwm.c" D:/ti/ccsv6/tools/compiler/C2000_~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"D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla1 -v28 --float_support=fpu32 -ml -DCPU1 -DMW_DAC_CHANNEL_A -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016b/simulink/include/sf_runtime -IC:/Users/Tony/Downloads/three_phase_SVPWM_ert_rtw -IC:/Users/Tony/Downloads -IC:/PROGRA~1/MATLAB/R2016b/extern/include -IC:/PROGRA~1/MATLAB/R2016b/simulink/include -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/ert -IC:/Users/Tony/Downloads/slprj/ert/_sharedutils -IC:/PROGRA~1/MATLAB/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -ID:/ti/device_support/F2837xD/v190/F2837xD_common/include -ID:/ti/device_support/F2837xD/v190/F2837xD_headers/include -ID:/ti/device_support/F2837xD/v190/F2837xD_common -IC:/PROGRA~1/MATLAB/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/shared/externalmode_daemon/include -ID:/ti/libs/math/CLAmath/v400/include --output_file="MW_c28xx_qep.obj" "MW_c28xx_qep.c" D:/ti/ccsv6/tools/compiler/C2000_~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"D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla1 -v28 --float_support=fpu32 -ml -DCPU1 -DMW_DAC_CHANNEL_A -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016b/simulink/include/sf_runtime -IC:/Users/Tony/Downloads/three_phase_SVPWM_ert_rtw -IC:/Users/Tony/Downloads -IC:/PROGRA~1/MATLAB/R2016b/extern/include -IC:/PROGRA~1/MATLAB/R2016b/simulink/include -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/ert -IC:/Users/Tony/Downloads/slprj/ert/_sharedutils -IC:/PROGRA~1/MATLAB/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -ID:/ti/device_support/F2837xD/v190/F2837xD_common/include -ID:/ti/device_support/F2837xD/v190/F2837xD_headers/include -ID:/ti/device_support/F2837xD/v190/F2837xD_common -IC:/PROGRA~1/MATLAB/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/shared/externalmode_daemon/include -ID:/ti/libs/math/CLAmath/v400/include --output_file="three_phase_SVPWM.obj" "three_phase_SVPWM.c" "D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include/stdbool.h", line 36: warning: incompatible redefinition of macro "false" (declared at line 21 of "C:/Users/Tony/Downloads/slprj/ert/_sharedutils/rtwtypes.h") "D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include/stdbool.h", line 37: warning: incompatible redefinition of macro "true" (declared at line 25 of "C:/Users/Tony/Downloads/slprj/ert/_sharedutils/rtwtypes.h") "three_phase_SVPWM.c", line 1443: warning: conversion from pointer to smaller integer "three_phase_SVPWM.c", line 774: warning: variable "tmp" was set but never used "three_phase_SVPWM.c", line 775: warning: variable "tmp_0" was set but never used "three_phase_SVPWM.c", line 776: warning: variable "tmp_1" was set but never used D:/ti/ccsv6/tools/compiler/C2000_~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"D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla1 -v28 --float_support=fpu32 -ml -DCPU1 -DMW_DAC_CHANNEL_A -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016b/simulink/include/sf_runtime -IC:/Users/Tony/Downloads/three_phase_SVPWM_ert_rtw -IC:/Users/Tony/Downloads -IC:/PROGRA~1/MATLAB/R2016b/extern/include -IC:/PROGRA~1/MATLAB/R2016b/simulink/include -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/ert -IC:/Users/Tony/Downloads/slprj/ert/_sharedutils -IC:/PROGRA~1/MATLAB/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -ID:/ti/device_support/F2837xD/v190/F2837xD_common/include -ID:/ti/device_support/F2837xD/v190/F2837xD_headers/include -ID:/ti/device_support/F2837xD/v190/F2837xD_common -IC:/PROGRA~1/MATLAB/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/shared/externalmode_daemon/include -ID:/ti/libs/math/CLAmath/v400/include --output_file="three_phase_SVPWM_data.obj" "three_phase_SVPWM_data.c" "D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include/stdbool.h", line 36: warning: incompatible redefinition of macro "false" (declared at line 21 of "C:/Users/Tony/Downloads/slprj/ert/_sharedutils/rtwtypes.h") "D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include/stdbool.h", line 37: warning: incompatible redefinition of macro "true" (declared at line 25 of "C:/Users/Tony/Downloads/slprj/ert/_sharedutils/rtwtypes.h") D:/ti/ccsv6/tools/compiler/C2000_~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"D:/ti/ccsv6/tools/compiler/C2000_~1.LTS/include" -g -DCLA_BLOCK_INCLUDED --cla_support=cla1 -v28 --float_support=fpu32 -ml -DCPU1 -DMW_DAC_CHANNEL_A -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DONESTEPFCN=1 -DTERMFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DMW_PIL_SCIFIFOLEN=16 -DF2837X_REG_FORMAT -DMW_F2837XD -DRT -DSTACK_SIZE=512 -DMODEL=three_phase_SVPWM -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/inc -IC:/PROGRA~1/MATLAB/R2016b/simulink/include/sf_runtime -IC:/Users/Tony/Downloads/three_phase_SVPWM_ert_rtw -IC:/Users/Tony/Downloads -IC:/PROGRA~1/MATLAB/R2016b/extern/include -IC:/PROGRA~1/MATLAB/R2016b/simulink/include -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2016b/rtw/c/ert -IC:/Users/Tony/Downloads/slprj/ert/_sharedutils -IC:/PROGRA~1/MATLAB/R2016b/toolbox/shared/can/src/scanutil -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src -ID:/ti/device_support/F2837xD/v190/F2837xD_common/include -ID:/ti/device_support/F2837xD/v190/F2837xD_headers/include -ID:/ti/device_support/F2837xD/v190/F2837xD_common -IC:/PROGRA~1/MATLAB/R2016b/toolbox/target/extensions/processor/tic2000/include -IC:/PROGRA~1/MATLAB/R2016b/toolbox/rtw/targets/common/can/blocks/tlc_c -IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/shared/externalmode_daemon/include -ID:/ti/libs/math/CLAmath/v400/include --output_file="cla_task.obj" "cla_task.cla" "cla_task.cla", line 1: fatal error: cannot open source file "cla_header.h" 1 catastrophic error detected in the compilation of "cla_task.cla". Compilation terminated. >> Compilation failure gmake: * [cla_task.obj] Error 1 C:\Users\Tony\Downloads\three_phase_SVPWM_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 C:\Users\Tony\Downloads\three_phase_SVPWM_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 three_phase_SVPWM_codegen_rpt.html ### Build procedure for model: 'three_phase_SVPWM' aborted due to an error. Error(s) encountered while building "three_phase_SVPWM": ### Failed to generate all binary outputs.

回答(1 个)

Birdman
Birdman 2019-12-4
How did you solve this problem?

Community Treasure Hunt

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

Start Hunting!

Translated by