AnsweredAssumed Answered

Problem about an5327sw(MC9S12ZVML128_PMSM_Sensorless_SingleShunt) compile

Question asked by Sohyun Jang on Mar 16, 2017
Latest reply on Mar 17, 2017 by Radek Sestak

I try to copile an5327sw(MC9S12ZVML128_PMSM_Sensorless_SingleShunt), but there are problem below.

I use CodeWarrior v.10.6

 

Description Resource Path Location Type
 C:\Freescale\AN5327\SW\MC9S12ZVML128_PMSM_Sensorless_SingleShunt\src\actuate_s 12zvm.h:27 function has no prototype (included from:  C:\Freescale\AN5327\SW\MC9S12ZVML128_PMSM_Sensorless_SingleShunt\src\actuate_s 12zvm.c:28)        C:\Freescale\AMMCLIB\MC9S12ZVM_AMMCLIB_v1.1.5\include\MLIB_Div.h:73        C:\Freescale\AMMCLIB\MC9S12ZVM_AMMCLIB_v1.1.5\include\mlib.h:36  C:\Freescale\AN5327\SW\MC9S12ZVML128_PMSM_Sensorless_SingleShunt\MC9S12ZVML128 _PMSM.c:5) MC9S12ZVML128_PMSM_Sensorless_SingleShunt    C/C++ Problem

 

Description Resource Path Location Type
function has no prototype (included from:        C:\Freescale\AMMCLIB\MC9S12ZVM_AMMCLIB_v1.1.5\include\MLIB_Div.h:73        C:\Freescale\AMMCLIB\MC9S12ZVM_AMMCLIB_v1.1.5\include\mlib.h:36        C:\Freescale\AMMCLIB\MC9S12ZVM_AMMCLIB_v1.1.5\include\GFLIB_Sin.h:54        C:\Freescale\AMMCLIB\MC9S12ZVM_AMMCLIB_v1.1.5\include\gflib.h:24 MC9S12ZVML128_PMSM_Sensorless_SingleShunt  line 375, external location: C:\Freescale\AMMCLIB\MC9S12ZVM_AMMCLIB_v1.1.5\include\MLIB_Norm.h C/C++ Problem

 

...

 

I already set build settings as MC9S19ZVM_AMMCLIB_v.1.1.5 manual.

 

I check "C:\Freescale\AMMCLIB\MC9S12ZVM_AMMCLIB_v1.1.5\include" at Includes.

 

and I check "C:\Freescale\AMMCLIB\MC9S12ZVM_AMMCLIB_v1.1.5\lib\cw10x\MC9S12ZVM_AMMCLIB.UC.a" at Libaries

 

I dont change the an5327sw, only install an5327sw.

 

So, I dont know why this problem happen.

Outcomes