最近用CCS10.1创建了一个28335的项目,并且copy了一个IQmath_fpu32.lib到我的工程文件夹下。编译时出现警告warning #10207-D: resolving index library "IQmath_fpu32.lib" to "IQmath_fpu32_coff.lib", but "IQmath_fpu32_coff.lib" was not found。想请教一下这是什么意思?IQmath_fpu32_coff.lib是哪儿来的?
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.
最近用CCS10.1创建了一个28335的项目,并且copy了一个IQmath_fpu32.lib到我的工程文件夹下。编译时出现警告warning #10207-D: resolving index library "IQmath_fpu32.lib" to "IQmath_fpu32_coff.lib", but "IQmath_fpu32_coff.lib" was not found。想请教一下这是什么意思?IQmath_fpu32_coff.lib是哪儿来的?
谢谢您的回答,还有两个疑问:(1)怎么才能知道我的工程映射的是IQmath_fpu32.lib还是IQmath_fpu32_coff.lib?能不能从工程中直接看出来?(2)您说的更改顺序有什么用?最终不是每个路径都要搜索吗?我用的是c2000ware下f28335_flash例程的.c文件,然后头文件、cmd文件、源文件、fpu32文件都是直接copy到工程文件夹下的。
可以啊,工程刚刚创建完,主程序直接拿的例程中的flash例程,都是从c2000ware下拷过来的,都放在工程文件夹下。CtrlBoardTest.rar
因为现在选择的是COFF,所以编译器会解析为IQmath_fpu32_coff.lib,但是您工程内的lib文件夹内没有该IQmath_fpu32_coff.lib,所以出现了警告。
在您的工程文件夹CtrlBoardTest\CtrlBoardTest\lib 内添加该lib文件,即可消除警告
谢谢您,那如果我想映射到IQmath_fpu32.lib,就像现在工程文件夹下已经有了IQmath_fpu32.lib文件的情况下,是不是把Output format选择为eabi就行了呢?如果不行,该怎么做呢?另,coff 和 eabi有什么区别呢?在什么情况下选择coff?在什么情况下选择eabi?
我看output format的选择项里只有两种,coff 和 eabi,那是不是意味着如果我要用IQmath库的话,那我工程文件夹里的库文件要不是IQmath_fpu32_coff.lib,要不就是IQmath_fpu32_eabi.lib,而且必须和output format所选的格式一致,对吗?
是的,您的理解是正确的。也就是说即使您选择的是IQmath_fpu32.lib,也会根据您的output format的选择项进行映射到IQmath_fpu32_coff.lib或IQmath_fpu32_eabi.lib。