I couldn't able to build the created makefile
3 次查看(过去 30 天)
显示 更早的评论
- 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
0 个评论
回答(1 个)
Peeyush
2015-3-23
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!