Header File error message

Does anyone know how to fix the Invalid18f8520 header file error messsage on ifi_picdefs.h

Could you post all of the output from the compiler? I have an idea what it is, but the other output would help.

My idea is: Somehow the linker file (.lkr) got inlcuded into your project.

Read through this thread /t/need-help-build-make-error/49397/1 on the same topic.