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.

[参考译文] TMS320F28235:错误#10234-D:未解析的符号仍然使用 IQmath、即使已经包含 IQmath.lib

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1433860/tms320f28235-error-10234-d-unresolved-symbols-remain-using-iqmath-even-if-iqmath-lib-is-already-included

器件型号:TMS320F28235

工具与软件:

构建工程时出现此错误:

****项目 DLS_HV_INV_R.06****的配置调试构建

"e:\\Programammi\\CCS\\utils\\bin\\gmake"-k all

构建目标:"DLS_HV_INV.out"
调用:C2000链接器
"e":/Programmi/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 ddi""-v28 -ml -mt -opt_for_speed=5 --fp_mode=strict --fp_reassoc=off --advice:performance=all -g --display_error_number --ddiag_warning=225 --diag_wrap=off /Programmi/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib /Programmi/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include


首次引用了未定义的
符号
--- -------
_IQ24sqrt (long)./main.obj

错误#10234-D:未解析的符号仍存在
错误#10010:链接期间遇到错误;未生成"DLS_HV_INV.OUT"

>>编译失败
Makefile:155:目标"DLS_HV_INV.OUT"的配方失败
gmake:***[DLS_HV_INV.OUT]错误1.
gmake:由于错误、未重制目标"all"。

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

请注意、链接器会被告知包含 IQmath.lib 库、但编译器会提示错误。

有什么办法解决此问题的想法吗? 我使用的是 Code Composer Studio 版本:12.8.0.00012