I couldn't able to build the created makefile
이전 댓글 표시
- we are doing project on tms320f28335 using peripheral explorer kit and trying to link matlab r2012a with ccsv4.1. we couldn't able to bulid the generated makefile. Errors are follows,
1.The call to idelink_ert_make_rtw_hook, during the exit hook generated the following error:
Error while building the project.
The build process will terminate as a result.
2.Error while building the project.
3.The build failed with the following message: "C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/c2000/bin/cl2000" -I"C:\Program Files\MATLAB\R2012a\toolbox\idelink\extensions\ticcs\inc" -I"G:\matlab\gpio_ticcs" -I"G:\matlab" -I"G:\matlab\untitled_ticcs" -I"C:\Program Files\MATLAB\R2012a\extern\include" -I"C:\Program Files\MATLAB\R2012a\simulink\include" -I"C:\Program Files\MATLAB\R2012a\rtw\c\src" -I"C:\Program Files\MATLAB\R2012a\rtw\c\src\ext_mode\common" -I"C:\Program Files\MATLAB\R2012a\rtw\c\ert" -D"__TICCSC__" -D"RT" -D"USE_RTMODEL" -ml -v28 -D"MODEL=gpio" -D"NUMST=1" -D"NCSTATES=0" -D"HAVESTDIO=" -D"ONESTEPFCN=1" -D"TERMFCN=1" -D"MAT_FILE=0" -D"MULTI_INSTANCE_CODE=0" -D"INTEGER_CODE=0" -D"MT=0" -D"TID01EQ=0" -I"include" -fr"./derived/" ./DSP281x_CodeStartBranch.asm ./DSP281x_CpuTimers.c ./DSP281x_DefaultIsr.c ./DSP281x_GlobalVariableDefs.c ./DSP281x_MemCopy.c ./DSP281x_PieCtrl.c ./DSP281x_PieVect.c ./DSP281x_SysCtrl.c ./DSP281x_usDelay.asm ./MW_c28xx_csl.c ./gpio.c ./gpio_data.c ./gpio_main.c
[DSP281x_CodeStartBranch.asm]
[DSP281x_CpuTimers.c]
[DSP281x_DefaultIsr.c]
[DSP281x_GlobalVariableDefs.c]
[DSP281x_MemCopy.c]
[DSP281x_PieCtrl.c]
[DSP281x_PieVect.c]
[DSP281x_SysCtrl.c]
[DSP281x_usDelay.asm]
[MW_c28xx_csl.c]
".\rtwtypes.h", line 29: fatal error: could not open source file "limits.h"
1 fatal error detected in the compilation of "./MW_c28xx_csl.c".
Compilation terminated.
>> Compilation failure gmake: * [derived/DSP281x_CodeStartBranch.obj] Error 1
답변 (1개)
Peeyush
2015년 3월 23일
0 개 추천
This looks like the header file 'limits.h' is missing in the include path. Can you search for the file and see if this gets included while building.
카테고리
도움말 센터 및 File Exchange에서 Texas Instruments C2000 Processors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!