cancel
Showing results for 
Search instead for 
Did you mean: 

Hi everyone, I'm trying to use the library MotionFX from STM32CubeMX, but i have a problem when i try to build the project on SW4STM32 see below details. please can someone help me to find a solution? Best regards thanks

salim
Associate II

0693W000000WnltQAC.png

0693W000000Wnm8QAC.png

0693W000000Wnm3QAC.png

4 REPLIES 4
Miroslav BATEK
ST Employee

Please check the path to motion_fx.h is in your include path (in project settings).

salim
Associate II

Hi,

It's not a problem with .h include path it's a problem with preprocessor Incluide Paths for library,

my solution is to add path of the library (.a) in the "Expert settings Command line pattern" and it's work.

0693W000000Wp19QAC.png

Miroslav BATEK
ST Employee

You can add the library also in the Libraries settings in the Linker section, so you don't need to write the command.

When i try to add it with the "Linker section method" it's not working.