Up in post#5 you are setting the fuses in code space. Have you commented out the lines in the *.inc file?
http://www.picbasic.co.uk/forum/showthread.php?t=543
Read post #1 and #5...

And I do not see how the OSC is set or a
Code:
DEFINE OSC ??
?? being the speed.