mplab: cx8-the compiler does not see the header file

On MPLAB X IDE v4.20 set xc8-v2.00-full-install-windows-installer.exe But for some reason I can't work with the p18f4585 microprocessor.

Connected #include <p18cxxx.h> but does not see the file .

Also does not see the file :

#elif defined(__18F4585)
  #include <p18f4585.h> 

does not build the project.

I was looking for additional libraries and did not find them, and did not understand where to get this library ?? How to work with the p18f4585 chip ??

 0
Author: timob256, 2018-10-08

1 answers

Try searching for it differently, in empty quotes <> via CTRL +Space.


Question author's comment: moved the project from mplab ide v8 in MPLAB X IDE v4. 20 the same compiler (xc8), the name of the header file was #include <p18f4585.h> when migrating, it was necessary to change to #include <pic18f4585.h> . After the past journey, everything is fully assembled :3.

 1
Author: user269134, 2018-10-09 06:10:33