PlatformIO Community

The compiler cannot find precompiled libraries

I’m using platform to compile a stm32 progrem, and this is my ini file

image

I’ve tried many similar ways to describe where the .lib file is, but the compiler always cannot find it

If you link with -lmath, GCC will be looking for a file called libmath.a. Your math.lib seems to be in a different format and has a different name? Are you sure it’s compiled for ARM and was produced using GCC (and not the Visual C(++) compiler))?