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.

6678调用mathlib问题求助

Other Parts Discussed in Thread: MATHLIB

已经在CCS6环境下安装好了mathlib,在工程路径下包含了所需路径,在主函数中也包含了头文件,并且链接了库文件 -l mathlib.ae66。

在单独调用mathlib函数时,运行正确,如:

for(ii=0;ii<4096;ii++)
{
dstBuffer_L2[ii]=sinsp(Pi*ii/1024);
}

但是,一旦调用向量算法的时候,就会提示找不到函数,无法编译如:

 sqrtsp_v(dstBuffer_L2,dstBuffer_L2,4096);

会报错:

Description Resource Path Location Type
unresolved symbol powsp_v, first referenced in ./main.obj Core1 C/C++ Problem

请问如何解决呢,我是否调用方式不对?谢谢!