Projects based on PIC18 MCU Use MCC18 compiler. If the compilation fails, you can try to change the 18f4k10.lkr file to the image in this file.