Are you trying to compile within MPLAB or MicroCode Studio?