Simulink compilation error: Launchpad F28069M
Show older comments
Hello,
i am having an issue while downloading the code to the mcu using simulink code generation. My matlab version is 2016b and i am using the embedded coder add-on for TI C2000 processors. Untill now everything has been working nicely, but now i've been getting the following compilation error when building the code.
if true
%
IC:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/shared/externalmode_daemon/include --output_file="ext_svr_c2000.obj" "C:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src/ext_svr_c2000.c"
"C:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src/ext_svr_c2000.c", line 54: fatal error: cannot open source file "multiword_types.h"
1 catastrophic error detected in the compilation of "C:/ProgramData/MATLAB/SupportPackages/R2016b/toolbox/target/supportpackages/tic2000/src/ext_svr_c2000.c".
Compilation terminated.
>> Compilation failure
gmake: *** [ext_svr_c2000.obj] Error 1
D:\temp\BuildFolder\IMU_PIDNC_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
D:\temp\BuildFolder\IMU_PIDNC_ert_rtw>An_error_occurred_during_the_call_to_make
Der Befehl "An_error_occurred_during_the_call_to_make" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
(((((Error cannot open source file "multiword_types.h"))))))
end
What could be causing the error? I have used the same simulink model with the mcu and compiled the code without any issues. Maybe i changed something and now it cannot find the header file "multiword_types.h". Thanks in advance!
Regards, Emmanuel
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder 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!