cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE can't find DSP static library

Rashad Shubita
Associate III

0693W000000V6PiQAK.jpg0693W000000V6PYQA0.jpg0693W000000V6PTQA0.jpg0693W000000V6POQA0.jpgHii

I have a problem when I add ARM DSP library, the following error appears:

c:\st\stm32cubeide_1.0.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610\tools\arm-none-eabi\bin\ld.exe: cannot find -lC:/IoT/../L59_stm32_examples/Libraries/CMSIS/DSP/lib/arm_cortexM4lf_math.lib

so I tried everything I know but not solved, I add the library to the project, change the name change extinction from.a to .lib, and here is some photo from my project.

Please help and thanks in advance!

14 REPLIES 14
Rashad Shubita
Associate III

0693W000001cNM5QAM.jpgHi �?lvaro Frutos

First thank you very much..

I try this but still don't work..I don't know what I must do to make it work!

0693W000001cNM0QAM.jpg

0693W000001cNMAQA2.jpg

Hi Rashad, I think you have to remove the "/$(ProjectName)/" in the Includes path and leave it as "Core/Inc/Inc_Ex".

My solution was for the DSP library. I've never used this other PDMFilter library. SonI don't know if I would be able to help you much more.

Rashad Shubita
Associate III

Thanks a lot man �?lvaro Frutos I know you try hard to help me but not always things go right...Thanks 

I know your solution is for the DSP library but I have the same problem in the two libraries.

Now I use pcm2pdm library and it's work fine..just discovering new parameter..even that PDMFilter library has more options such as LPF ..but It works fine for now.

Vselv.1
Associate

Were you able to fix the issue related to math library (libarm_cortexM4l_math.a)?. I am also getting the same error.

Hi Alvaro,

thanks for posting the solution. it works on my projects.

I hope the developers of the CUBEIDE take this BUG seriously, because integration of third parties libraries is crucial in real software projects.