think ive managed to do it now using the following line

#pragma config FOSC = HSMP

im new to pic programming and struggling to set the pic up from scratch so the i/o pins are outputs ect

i am using an 8mHz xtal i will be using the i/o pins as outputs to mulitiplex a 7 segment display