필터 지우기
필터 지우기

I couldn't able to build the created makefile

조회 수: 4 (최근 30일)
sanmathi s
sanmathi s 2015년 3월 15일
답변: Peeyush 2015년 3월 23일
  • 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
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.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by