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.
Solved! Go to Solution.
Hi Sohyun,
It looks like some problem with AMMCLib paths.
The default MC9S12ZVML128_PMSM_Sensorless_SingleShunt project points to AMMCLIB_v1.1.0.
I suppose that you installed an5327sw and also AMMCLIB_v1.1.5 (current version is 1.1.7). Right?
Please check c:\Freescale\AMMCLIB\..
The AMMCLIB path is located at three places in project settings.
Please go to menu-Project-Properties-C/C++ Build-settings-
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Sohyun,
It looks like some problem with AMMCLib paths.
The default MC9S12ZVML128_PMSM_Sensorless_SingleShunt project points to AMMCLIB_v1.1.0.
I suppose that you installed an5327sw and also AMMCLIB_v1.1.5 (current version is 1.1.7). Right?
Please check c:\Freescale\AMMCLIB\..
The AMMCLIB path is located at three places in project settings.
Please go to menu-Project-Properties-C/C++ Build-settings-
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------