Hi team,
I would like to ask you about compiling error when using SFO() function.
Here is the source codes.
#include "SFO_V6.h"
#define GLOBAL_Q 22 // range = +-512
#include "C:\ti\c2000\C2000Ware_3_04_00_00\libraries\math\IQmath\c28\include\IQmathLib.h"
int MEP_ScaleFactor;
volatile struct EPWM_REGS *ePWM[PWM_CH] =
{ &EPwm1Regs, &EPwm1Regs, &EPwm2Regs, &EPwm3Regs, &EPwm4Regs};
Void main()
{
status = SFO(); // Do the function once whole the codes.
}
And I added 2 libraries to linker, SFO_TI_Build_V6b.lib and IQmath.lib.
Finally I got an error like this.
undefined first referenced symbol in file --------- ---------------- SFO() ./src/main.obj error #10234-D: unresolved symbols remain
Could you advice me to avoid this error?
Thanks and Best Regards,
Junpei Kishi