Hi all,
Thank you for reading and hopefully answering this question
I have read the other posts that have already been answered but they don't solve my problem (either that or I'm not doing it right)
Using CCs v5.2, MSP430F5438A chip
My file structure is as such (important to question only, rest is not shown)
I get the error from the linker when I compile:
undefined first referenced
symbol in file
--------- ----------------
inv_cosf <Project Directory>\core\mpl\libmplmpu.lib<fusion_9axis.obj>
inv_sinf <Project Directory>\core\mpl\libmplmpu.lib<fusion_9axis.obj>
The files shown in the structure above along with the .lib file are taken from an external party, and thus should be correct
I have included my lib file in the Project Settings>CCS Build>MSP430 Linker>File Search Path, both the <Include Library or Command File as input> section and the <Add dir to library search path> section as:
"${workspace_loc:/${ProjName}/core/mpl/libmplmpu.lib}"
and
"${workspace_loc:/${ProjName}/core/mpl/}"
respectively
inv_cosf & inv_sinf are seemingly declared in the file in the ml_math_func.h and ml_math_func.c in the <mllite> folder
The two files are #include-d in my main program, but I don't think that is going to help much
What am I doing wrong?
