Hi Thiruvonasundari,
I'll explain how to import an example to code warrior.
Please click in the next option to import the project to your workspace:

After that, select the folder in which your project is located, the next option will appear in the window, select the project and the option to copy the project in to the workspace:

After this, you would need to make a clean in the project, for this please click in the next option:

After this, if you build your project you shouldn't have any error.
I hope this helps you.
Best Regards,
Alexis Andalon