Hi Karthik Poojary,
Did you use the MDK project?
If yes, please add CMSIS in the options define:

Then save the project, and build again, you will find the error have disappeared.
Wish it helps you!
If you still have question, please contact me!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------