Have you set the config fuses? Which assembler are you using, MPASM or the default assembler ?