undefined reference to `cosf' `sinf'
Hello, I'm compiling a custom project with STM32M7 using TouchGFX library on it. Recently, when I started to play with more advance functions from TouchGFX I get this error during the linking process:
.........../libtouchgfx-float-abi-hard.a(Math3D.o): In function `touchgfx::Matrix4x4::concatenateXRotation(float)':
(.text._ZN8touchgfx9Matrix4x420concatenateXRotationEf+0xc): undefined reference to `sinf'
(.text._ZN8touchgfx9Matrix4x420concatenateXRotationEf+0x18): undefined reference to `cosf'
I check some of the flags -lm is included in the case that uses the default math.h functions, but the error is in a different place.
I'm using libtouchgfx-float-abi-hard.a library and -mfloat-abi=hard.
Can anyone help me with this?
Thank you.
