编译报错如下:
undefined first referenced
symbol in file
--------- ----------------
__IQ24div ./Example_posspeed.obj
我已经添加了IQMath库,是需要改CMD文件吗?我是在gpio_toggle_cpu01这个程序里边改的,但是并没有看到CMD文件
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.
编译报错如下:
undefined first referenced
symbol in file
--------- ----------------
__IQ24div ./Example_posspeed.obj
我已经添加了IQMath库,是需要改CMD文件吗?我是在gpio_toggle_cpu01这个程序里边改的,但是并没有看到CMD文件
头文件添加了#include "IQmathLib.h"
我是把eqep_pos_speed_cpu01这个示例工程里的文件迁移到了我的gpio_toggle_cpu01工程中,并且添加了IQmath的路径,但是编译时就出现了上面的错误
报错号为:error #10234-D: unresolved symbols remain
我根据你的建议对比了IDDK的程序,并且阅读了IQmath的说明书,刚开始怀疑是CMD文件的问题,添加后会显示更多错误,而且原eqep工程里也没有添加CMD文件,所以是什么原因呢?或者添加IQmath库需要别的设置吗?