1. Have you tried it with Portb all in UPPERCASE in the LCD define statements?

2. Are you trying to compile your program for a PIC that hasn't got PORTB?... eg you intend to compile for 16F675 but you've got a typo specifying 12F675?