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.

TMS320F28027: Unresolved symbols remain

Part Number: TMS320F28027


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