Question:
What changes need to be done when getting "CORE0 and DEBUG No such file or directory doesn't exist" error while building the project.
Answer:
When encountering the CORE0 and DEBUG "No such file or directory" or "doesn't exist" error, it indicates that the macro definition "CORE0" and "DEBUG" doesn't have defined properly. Need to check whether any default macro definition from compiler pre-processor settings has been deleted or if it was defined wrongly in additional options. This need to be corrected by deleting these macros from additional options.
Then need to define the macro _DEBUG and CORE0 in preprocessor definitions via Project Properties->C/C+Build->Settings->Tool Settings->CrossCore processor C Compiler->Preprocessor(-D) and add _DEBUG and CORE0.