Step 5: Build Project, Program MCU
Step 5.1: Specify the C Include Directories for the Compiler
The Include Directory paths are used by the C compiler to find files referenced through #include directives. This is the preferred method of referencing include files that are not at the root of your project directory, as opposed to using relative paths in code: #include "subdirectory/filename.h".
2
Click on Conf: [default] > XC16 > xc16-gcc.
3
Click on the drop-down for Option Categories and select Preprocessing and messages.