[求助]C编程, 大量数据类型转换, 缺少某种头文件!!!
- UID
- 338774
- 性别
- 男
|
[求助]C编程, 大量数据类型转换, 缺少某种头文件!!!
程序里面有大量的(float), (unsigned long int)...强制类型转换
编译后出现: Link Error : L1822: Symbol _FUFLOAT in file F:\Docu_Freescale\AreMaster\AreMaster_Data\Standard\ObjectCode\Menu.c.o is undefined
Link Error : L1822: Symbol _FDIV_RC in file F:\Docu_Freescale\AreMaster\AreMaster_Data\Standard\ObjectCode\Display5x8E.c.o is undefined
Link Error : L1822: Symbol _FMUL in file F:\Docu_Freescale\AreMaster\AreMaster_Data\Standard\ObjectCode\Menu.c.o is undefined
Link Error : L1822: Symbol _FMUL_RC in file F:\Docu_Freescale\AreMaster\AreMaster_Data\Standard\ObjectCode\Display5x8E.c.o is undefined
Link Error : L1822: Symbol _FCMP_RC in file F:\Docu_Freescale\AreMaster\AreMaster_Data\Standard\ObjectCode\Display5x8E.c.o is undefined
Link Error : L1822: Symbol _FSTRUNC in file F:\Docu_Freescale\AreMaster\AreMaster_Data\Standard\ObjectCode\Display5x8E.c.o is undefined
Link Error : Link failed
上述_FUFLOAT, _FDIV_RC, _FMUL, _FMUL_RC, _FCMP_RC, _FSTRUNC在哪个头文件里
[此贴子已经被作者于2006-10-25 12:12:46编辑过] |
|
|
|
|
|
- UID
- 338970
- 性别
- 男
|
111111111111111111111111111111111111 |
|
|
|
|
|
- UID
- 104631
- 性别
- 男
|
是的,楼主在创建工程的时候没有选择支持浮点运算,需要改成支持浮点运算的工程。最好是重新创建工程,如果不重新建,也需要手动修改一些设置,比如说ansi库之类的 |
|
|
|
|
|
- UID
- 338774
- 性别
- 男
|
|
|
|
|
|
- UID
- 343942
- 性别
- 男
|
|
|
|
|
|