To fully resolve compiling errors, you should fully compile your project or remove the compile on demand setting.