What errors do you get when trying to compile from within MPLAB?