cancel
Showing results for 
Search instead for 
Did you mean: 

Undefined refference arm_math.h functions

Posted on May 05, 2016 at 15:46

Hello there,

I am trying to use some functions from the arm_math.h library. The problem I am getting undefined reference to them. The compiler sees the structs from arm_math.h correctly though. I dont know what is the cause of this. I am using STM32F4, startup code is generated via mxCUBE. I cant use arm_mat_mult_f32 for example and etc.

I would apreciate all help regarding this issue.
2 REPLIES 2
Posted on May 05, 2016 at 18:18

An include file just defines the interface for the compiler, you still have to add the objects/libraries with the code into your project for the linker to bind them.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on May 05, 2016 at 18:25

Hi,

I know, I can see the c files in the project folders but for some reason couldnt link them. I had to create a new folder in eclipse and move all c files there. Thanks.