You wrote INTOSC_OSC_NOCLKOUT

Shouldn't it be INTRC_OSC_NOCLKOUT

Unfortunately, mistakes and typo's in DEFINE statements rarely produce compiler errors, so it's worthwhile double checking you have those correct.

Where can you find the correct settings you might ask... see this thread...

www.picbasic.co.uk/forum/showthread.php?t=543