PIC XC8 error warning: (1459) peripheral library support is missing for the 18XXXX
if you receive the following error during BUILD in XC8, here is the quick fix:
warning: (1459) peripheral library support is missing for the 18F6722
the fix is simple:
make sure this checkbox is UNCHECKED under the project properties, XC8 linker.