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

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

5 commentaires

I spend one more day trying to figure it out, but without success. I tried a lot of different configurations. And inspiring myself from this post ( http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/180537.aspx?pi68608=1 ) I add in the xmakefilesetup the following lines : -I"C:/ProgramFile/C6xCSL/include" -l"C:/ProgramFile/C6xCSL/lib_3x" in the arguments of Compiler and Linker. There is another work around explained here http://www.mathworks.in/matlabcentral/newsreader/view_thread/277160 I also tried it but it didn't work...
Hope someone have a solution.
Thanks
Florian
I tried everything, I still can't fix it. I am wondering if it's because the TI C6713 is quite old. I am looking to buy an other board but I am not sure which one will do the job.
Hi Florian: You may want to contact MathWorks Support at this point.
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
Hi Florian and Matthias,
I am facing the similar error now. Have you got any solution?
I really appriciate if you found solution and post here.
Many Thanks

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Centre d'aide et File Exchange

Question posée :

le 15 Avr 2014

Commenté :

le 6 Mar 2025

Community Treasure Hunt

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

Start Hunting!

Translated by