While building a project, the CodeWarrior fails to write an ELF file. How do I resolve this issue?

The DE.EXE might locks the file. The DE.EXE (Debugger Engine Executable) locks the file during debugging, but might have failed to release it. To release the lock, simply close (kill) the DE.EXE application from the task manager.