标题: 飞思卡尔的反三角函数 [打印本页] 作者: happyzn75 时间: 2013-8-6 09:54 标题: 飞思卡尔的反三角函数 正在用指南针,需要把三轴xyz合并到一起转化成角度,用到C语言库函数atan2,结果出现下列问题:Link Error : L1822: Symbol _FSFLOAT in file C:\Users\lenovo\Desktop\Ö¸ÄÏÕë\Project\Project_Data\Standard\ObjectCode\main.c.o is undefined
Link Error : L1822: Symbol _FNEG in file C:\Users\lenovo\Desktop\Ö¸ÄÏÕë\Project\Project_Data\Standard\ObjectCode\connnn.c.o is undefined
Link Error : L1822: Symbol frexp in file C:\Users\lenovo\Desktop\Ö¸ÄÏÕë\Project\Project_Data\Standard\ObjectCode\connnn.c.o is undefined
Link Error : L1822: Symbol ldexp in file C:\Users\lenovo\Desktop\Ö¸ÄÏÕë\Project\Project_Data\Standard\ObjectCode\connnn.c.o is undefined
Link Error : L1822: Symbol _FCMP in file C:\Users\lenovo\Desktop\Ö¸ÄÏÕë\Project\Project_Data\Standard\ObjectCode\connnn.c.o is undefined
Link Error : L1822: Symbol _FADD in file C:\Users\lenovo\Desktop\Ö¸ÄÏÕë\Project\Project_Data\Standard\ObjectCode\main.c.o is undefined
Link Error : L1822: Symbol _FMUL in file C:\Users\lenovo\Desktop\Ö¸ÄÏÕë\Project\Project_Data\Standard\ObjectCode\main.c.o is undefined
Link Error : L1822: Symbol _FSTRUNC in file C:\Users\lenovo\Desktop\Ö¸ÄÏÕë\Project\Project_Data\Standard\ObjectCode\connnn.c.o is undefined
Link Error : L1822: Symbol _FSUB in file C:\Users\lenovo\Desktop\Ö¸ÄÏÕë\Project\Project_Data\Standard\ObjectCode\connnn.c.o is undefined
Link Error : L1822: Symbol _FDIV in file C:\Users\lenovo\Desktop\Ö¸ÄÏÕë\Project\Project_Data\Standard\ObjectCode\connnn.c.o is undefined
Link Error : Link failed
作者: happyzn75 时间: 2013-8-6 09:55
程序如下: x=BUF[0] << 8 | BUF[1]; //Combine MSB and LSB of X Data output register
z=BUF[2] << 8 | BUF[3]; //Combine MSB and LSB of Z Data output register
y=BUF[4] << 8 | BUF[5]; //Combine MSB and LSB of Y Data output register