I have a customer that wants to provide me with .a file for some confidential algorithm they want to run. I am tasked with implementing this into my firmware.
Using the links below I have been able to compile in the .a file along with its associated header file. I can even use the #include to include the header file. However, when I start to call functions from the header file, the ld.exe returns an undefined reference exception.
My file structure is below, as well as my CMakelists.txt. It appears that I have followed the links and the example for linking an external library perfectly. Can I get some support to what I am missing, or what I should try next?
Thanks
CMakeLists.txt:
Here is my folder structure:
hello_world
> build
> insight
- header.h
> lib
- library.a
> src
- main.c
- CMakeLists.txt
- prj.conf