To compile PicBasic commands, PicBasic uses it's own .inc files (which all start with 18Fxxx.inc or whatever chip you are using), located in the PBP directory. If you peek inside them, they reference Microchip's .inc files (which all start with something like P18Fxxx.inc or something like that). The Microchip inc files tell Mpasm how to assemble the code. The microchip files are also usefull because at the bottom of the file, you can see all your config options. If PBP is giving you errors that it can not fine a PxxFxx.INC file, then it is talking about the microchip files (generated by installing mplab ide). Depending on which version you have, it may not have some of the newer chips. Microchip .inc files should be in the c:/program files/microchip/mpasm suite/ directory.

PBP earlier than version 2.60, requires you to stay with Mplab IDE v8.15a. Which will be missing a few chips.

Walter