This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CCS/TMS320C6713B:找不到输出文件

Guru**** 2577385 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/630792/ccs-tms320c6713b-out-file-not-found

器件型号:TMS320C6713B

工具/软件:Code Composer Studio

大家好、我遇到了这个错误、但我不知道我的代码有什么问题。 请帮助!

****为项目 try4构建配置调试****

"C:\\ti\\ccsv5\\utils\\bin\\gmake"-k all  

'构建目标:try4.out'

'调用:C6000链接器'

"C:/ti/ccsv5/tools/compiler/c6000_7.4.23/bin/cl6x "--abi=coffabi -g -display_error_number -diag_warning=225 -diag_wrap=off -z -m"try4.map"-i"C:/ti/ccsv5/tools/compiler/c6000_7.4.23/lib -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.23/include -reread_libs -warn_sections -display_error_number --try4_exctry4_example.xml"-"-link_rom_out_rom-"-"-link_ram_rom_out.xml"-"-"-link_rom_out.1.4 。  

警告#10210-D:创建默认大小为0x400的".stack"段;使用-stack 选项更改默认大小

 未定义的首次引用

 符号       

 ------ --------

 _length ./main.obj    

错误#10234-D:未解析的符号仍然存在

错误#10010:链接期间遇到错误;未构建"try4.out"

>>编译失败

gmake:***[try4.out]错误1.

gmake:目标`全部'不会由于错误而重制。

****构建完成****

代码如下:

#include

#include

#include

void medianfilter (short*信号、int signalLength、short*输出、int windowSize)

int i、j、k;

  // 在信号的所有元素中移动窗口

对于(I = 2;I < signalLength - 2;I++)

  {

   // 选取窗口元素

   浮动窗口[5];

   对于(j = 0;j < 5;j++)

   {Window[j]= SIGNAL [i - 2 + j];

   }

   // 顺序元素(只有一半)

   对于(j = 0;j < 3;j++)

   {

     // 找到最小元素的位置

     int min = j;

     对于(k = j + 1;k < 5;k++)

      {if (window[k]< window[min])

      最小值= k;

      }

     // 将找到的最小元素放在其位置

     float temp = window[j];

     Window[j]= Window[min];

     Window[min]= temp;

   }

   // 获取结果-中间元素

   output[i - 2]= window[2];

  }

int main()

输入信号[102]={0、2.8、3.24、5.374、5.2488、5.9049、6.3773、6.6962、7.8875、7.9736、6.9736、9736、

7.9038、7.7783、6.6089、6.4055、6.1767、5.9297、6.6702、5.4034、6.1332、4.8631、4.5956、4.333、5.077、3.8288、

3.5895、3.3598、3.140、1.9307、2.7319、2.5435、2.3654、2.1976、2.0396、1.8913、1.7522、1.622、1.5004、2.3868、

1.281,1.1825,1.0908,1.0057,0.92667,0.8534,0.78552,0.72268,0.66455,0.61082,0.561190.515380.47312,

0.43415、0.39825、0.36519、0.33476、1.3068、0.28101、0.25735、0.23561、0.21564、0.19731、0.18049、0.16506、0.15091、

1.1379、0.12606、0.11517、0.1052、0.096075、087721、080077、0733084、066689、0608、055498、050614、046152、

0.042077、0.038354、034956、0.031854、029022、026438、1.0241、021931、0199、018182、016552、015066、

0.013712、012478、011353、010329、1.0094、0.0085466、

0.0077729、0.0070685、0.0064272、0.0058435、0.0053123、0.0048289};

int signalLength = length (inputSignal);

int windowSize3=3;int windowSize5=5;int windowSize7=7;

输出3[102]、输出5[102]、输出7[102];

void medianfilter (short* inputSignal、int signalLength、short* output3、int windowSize3);

void medianfilter (short* inputSignal、int signalLength、short* output5、int windowSize5);

void medianfilter (short* inputSignal、int signalLength、short* output7、int windowSize7);