Regarding your question, I have attached a screenshot, pls add the item.
Moreover, you have to add the the path of MMCLB so that the compiler can find out the *.h file.
in the Properity menu, pls add "ARM Ltd Windows GCC C Compiler"->"Directory" and add the motor control path:"${MCU_TOOLS_HOME}\..\..\AMMCLIB\KEAx_AMMCLIB_v1.0.0\include"
Pls add the library by "ARM Ltd Windows GCC C Linker"->"Miscellaneous", add the "${MCU_TOOLS_HOME}\..\..\AMMCLIB\KEAx_AMMCLIB_v1.0.0\lib\cw10x\KEAx_AMMCLIB_v1.0.0.UC.a", this is the motor control library.
Hope it can help you
BR
XiangJun Rong