TI中文支持网
TI专业的中文技术问题搜集分享网站

IQMATH執行問題

#include "DSP2833x_Device.h"

#include "DSP2833x_Examples.h"
#include "IQmathLib.h"

_iq in1,out1;

_iq30 in2,out2;

int main(void) {

in1=_IQ(1.8);
out1=_IQisqrt(in1);
in2=_IQ30(1.8);
out2=_IQ30isqrt(in2);

}

這是小弟我看說明書寫的

可是Debug以後出現

#10010 errors encountered during linking; "test1.out" not built

#10234-D unresolved symbols remain

gmake: *** [test1.out] Error 1

gmake: Target 'all' not remade because of errors.

unresolved symbol __IQ24isqrt, first referenced in ./main.obj

unresolved symbol __IQ30isqrt, first referenced in ./main.obj

這6種錯誤(如附圖)

可以幫小弟我解惑嗎?謝謝

Chien Chien Chou:

#include "DSP2833x_Device.h"

#include "DSP2833x_Examples.h"
#include "IQmathLib.h"

_iq in1,out1;

_iq30 in2,out2;

int main(void) {

in1=_IQ(1.8);
out1=_IQisqrt(in1);
in2=_IQ30(1.8);
out2=_IQ30isqrt(in2);

}

這是小弟我看說明書寫的

可是Debug以後出現

#10010 errors encountered during linking; "test1.out" not built

#10234-D unresolved symbols remain

gmake: *** [test1.out] Error 1

gmake: Target 'all' not remade because of errors.

unresolved symbol __IQ24isqrt, first referenced in ./main.obj

unresolved symbol __IQ30isqrt, first referenced in ./main.obj

這6種錯誤(如附圖)

可以幫小弟我解惑嗎?謝謝

Victor Zheng:

回复 Chien Chien Chou:

您好

像是相应的头文件没有包含在CCS的include路径里。检查如下图的inlude下有没有把头文件包含全。

Victor

#include "DSP2833x_Device.h"

#include "DSP2833x_Examples.h"
#include "IQmathLib.h"

_iq in1,out1;

_iq30 in2,out2;

int main(void) {

in1=_IQ(1.8);
out1=_IQisqrt(in1);
in2=_IQ30(1.8);
out2=_IQ30isqrt(in2);

}

這是小弟我看說明書寫的

可是Debug以後出現

#10010 errors encountered during linking; "test1.out" not built

#10234-D unresolved symbols remain

gmake: *** [test1.out] Error 1

gmake: Target 'all' not remade because of errors.

unresolved symbol __IQ24isqrt, first referenced in ./main.obj

unresolved symbol __IQ30isqrt, first referenced in ./main.obj

這6種錯誤(如附圖)

可以幫小弟我解惑嗎?謝謝

Chien Chien Chou:

 以照您的指示去設定但Debug後問題一樣

赞(0)
未经允许不得转载:TI中文支持网 » IQMATH執行問題
分享到: 更多 (0)