Hi,
When I added Load_getCPULoad() in my code, link cannot resolve the reference. What do I miss?
I am using bios_6_34_04_22 and includes sysbios.ae66e.
Thanks.
Steve
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Judah,
I added this like and Load_getCPULoad still shows undefined.
Thanks.
Steve
undefined first referenced
symbol in file
--------- ----------------
Load_getCPULoad ./AudioProc.obj
error #10234-D: unresolved symbols remain
Hi Judah,
In fact, I did not include Load.h. while looking for Load.h, I found the sysbios\utils directory and its lib. After including the .h and lib, I built my project successfully. It is soooo hard to use these library functions!
Is there any documentation to tell me what is needed of include file and library for a given system services?
Thank you.
Regards,
Steve
Steve,
The general rule for using SYSBIOS modules is:
If you do a xdc.useModule('ti.sysbios.utils.Load');
then in the *.c file do
#include <ti/sysbios/utils/Load.h>
because you did not include the header file, the compiler was saying Load_getCPULoad() did not exists.
Judah