Hi,
I just tried compiling a couple of the examples in the LABX2-16F887 folder and it seems to work fine.

I know you said that you have the correct device selected but make sure you have the 16F887 and not the 16F877. Having the 877 selected produces syntax errors due to the fact that ANSEL and ANSELH doesn't exist in that device.

/Henrik.