Hi csmgsarma,
I created the project through KSDK-Project-Generator.

In my case, I selected FRDM-K64 board, MQX and KEIL.
I had to add the following definitions after several errors:
DEBUG, CPU_MK64FN1M0VLL12, FRDM_K64F, FREEDOM, FSL_RTOS_MQX, PEX_MQX_KSDK = 1
After compiling the entire project, the errors were fixed, however, I couldn't start a task, being necessary to start with int main();

I would like to start directly from main_task(),
Would someone tell me how to proceed?