#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種錯誤(如附圖)
可以幫小弟我解惑嗎?謝謝
mangui zhang:
除了包含头文件外 还要cmd和.lib吧
#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種錯誤(如附圖)
可以幫小弟我解惑嗎?謝謝
Young Hu:
回复 mangui zhang:
应该是.lib没有加进来。
#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:
你們是指C2000 Linker 的file search path還有Compiler的include option是嗎?(如附圖)
我把lib include cmd gel 都加了可是還是不行