Error while building a make file into a .out for CCS V4 using Matlab

1 次查看(过去 30 天)
I am trying to build a .out file with Matlab R11b and CCSv4 for a Texas Instrument C6713 DSP board.I am on windows 7 64 bit but I am using Matlab in 32 bit.
I am following this tutorial from Antonin http://www.youtube.com/watch?v=AY4GzMLl30A but I have an error a the end of it when Matlab is trying to build the makfile generated.
Here is the error :
The build failed with the following message: "C:/Program Files (x86)/Texas Instruments/ccsv4/tools/compiler/C6000/bin/cl6x" -I"C:\Program Files (x86)\MATLAB\R2011b\toolbox\idelink\extensions\ticcs\inc" -I"C:\Users\Nini\Documents\MATLAB\untitled_ticcs" -I"C:\Users\Nini\Documents\MATLAB" -I"C:\Program Files (x86)\MATLAB\R2011b\extern\include" -I"C:\Program Files (x86)\MATLAB\R2011b\simulink\include" -I"C:\Program Files (x86)\MATLAB\R2011b\rtw\c\src" -I"C:\Program Files (x86)\MATLAB\R2011b\rtw\c\src\ext_mode\common" -I"C:\Program Files (x86)\MATLAB\R2011b\rtw\c\ert" -D"CHIP_6713" -D"__TICCSC__" -D"RT" -D"USE_RTMODEL" -mv6710 -D"MODEL=untitled" -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"C:\Program Files (x86)\Texas Instruments\ccsv4\tools\compiler\C6000\include" -I"C:\Program Files (x86)\Texas Instruments\DSK6713\include" -fr"./derived/" ./MW_c6xxx_csl.c ./untitled.c ./untitled_data.c ./untitled_main.c
[MW_c6xxx_csl.c]
".\MW_c6xxx_csl.h", line 20: fatal error: could not open source file "untitledcfg.h"
1 fatal error detected in the compilation of "./MW_c6xxx_csl.c".
Compilation terminated.
>> Compilation failure
gmake: *** [derived/MW_c6xxx_csl.obj] Error 1
It seems that the same error was reported here ( http://www.mathworks.fr/matlabcentral/answers/25472-ccs-5-1-integration-when-and-how) but no there is no answer.
When I am doing the checkEnvSetup('ccsv4','C6713','check') everything is good. I do have everything setup correctly in the xmakefilesetup. In the configuration Parameters I am asking for Build only. If I ask for Create_Makefile it's working fine. But I need to generate the .out file.
Please find bellow a screenshot of the error.
I spend a lot of time trying to find the answer online. No luck so far.
Thanks for your time and help.
Florian
  4 个评论
Matthias Weber
Matthias Weber 2016-4-11
Hello Florian,
I know that your post is quite old but I am facing a similar problem. Could you fix it for your? If so, do you remember your solution?
I am using a newer Matlab version (R2015b), a different board (OMAP-L138 EVM) and a newer CCS version (CCSv5) but the error message is the same.
I currently guess that the problem is related to the toolchain configuration with and without DSP/BIOS. The board might require DSP/BIOS (not sure if this is true) and you get the error when you select a toolchain that does not include generate header file.
Matthias

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by