MPLAB IDE x 3.55 best way to include files in project

1.2k views Asked by At

I am compiling a project in which I am using USB as a data logger. The host PIC micro is PIC24FJ, however the compiler is always complaining about NO such file or directory. I have tries the following methods to include those files which the compiler should be able find and include.

1: Added under the Header file on left hand side Projects Pane.

2: Added through Project Properties -> General -> Add.

3: Added through Project Properties -> XC-16-gcc -> option categories -> Prepocessign and messages -> c include dirs.

i have used both relative and absolute paths. SO i am really confused What is the best way of including directories and files in MPLAB IDE x.

0

There are 0 answers