Can you inform us which 18F pic you are using?
Most of the 18F PICs (28 pin and 40 pin) have the hardware I2C pins on PORT C not PORTB. Whilst I'm sure PBP can define any pins, it might be "better" to use the actual pins associated with the hardware module on the PIC, eg
Code:SCLpin var PORTC.3 'clk SDApin var PORTC.4 'data
Bookmarks