【求助】CodeWarrior4.5中如何才能使用数学函数如sin,asinf等?
- UID
- 181082
- 性别
- 男
|
【求助】CodeWarrior4.5中如何才能使用数学函数如sin,asinf等?
已经#include
可是还出现如下错误,
Link Error : L1822: Symbol _FUFLOAT in file C:\Documents and Settings\li\My Documents\Freescale\ds0815_LCD\ds0808_Data\Full_Chip_Simulation\ObjectCode\main.c.o
is undefined
Link Error : L1822: Symbol _FMUL in file C:\Documents and Settings\li\My Documents\Freescale\ds0815_LCD\ds0808_Data\Full_Chip_Simulation\ObjectCode\main.c.o
is undefined
Link Error : L1822: Symbol _FDIV in file C:\Documents and Settings\li\My Documents\Freescale\ds0815_LCD\ds0808_Data\Full_Chip_Simulation\ObjectCode\main.c.o
is undefined
Link Error : L1822: Symbol _FADD in file C:\Documents and Settings\li\My Documents\Freescale\ds0815_LCD\ds0808_Data\Full_Chip_Simulation\ObjectCode\main.c.o
is undefined
Link Error : L1822: Symbol asinf in file C:\Documents and Settings\li\My Documents\Freescale\ds0815_LCD\ds0808_Data\Full_Chip_Simulation\ObjectCode\main.c.o
is undefined
用了强制转换后如:t3= (int) angle;出现如下错误
Link Error : L1822: Symbol _FSTRUNC in file C:\Documents and Settings\li\My Documents\Freescale\ds0815_LCD\ds0808_Data\Full_Chip_Simulation\ObjectCode\main.c.o
is undefined
Link Error : Link failed
请帮忙解决,不然一些数学函数都不能用了,谢谢!
|
|
|
|
|
|
- UID
- 104380
- 性别
- 男
|
|
|
|
|
|
- UID
- 181082
- 性别
- 男
|
|
|
|
|
|
- UID
- 95451
- 性别
- 男
|
请问8.0有这个问题吗,有没有必要选择支持浮点运算 |
|
|
|
|
|
- UID
- 104380
- 性别
- 男
|
|
|
|
|
|