pic.h No such file or directory

nschowdh wrote on Thursday, March 30, 2017:

I was trying to compile an application file that you have in Demo directory and getting “pic.h: No such file or directory”.

What is the the functionality of pic.h? I couldn’t find this file in code repository.

rtel wrote on Thursday, March 30, 2017:

http://www.freertos.org/FAQ-how-to-use-the-FreeRTOS-support-forum.html

Can you share which application you were trying to build?

nschowdh wrote on Friday, March 31, 2017:

**portmacro.h:87:17: pic.h: No such file or directory **

Demo>WIN32-MSVC>main.c

rtel wrote on Friday, March 31, 2017:

This is frustrating, I’m replying a second time without really knowing
what it is you are doing.
http://www.freertos.org/FAQ-how-to-use-the-FreeRTOS-support-forum.html

Having scanned the entire code base I can find a reference to pic.h on a
line 87, but in an obscure PIC18 port. I still don’t know which port
you are trying to use. You point to a file included in a demo for a
Win32 port, but are complaining about a header file used in a pic18 port.

I’m going to guess one of the following:

  1. You are trying to use a Win32 port but have the include paths set
    incorrectly, so are picking up a header file for a different port (the
    PIC18 port), or

  2. You are trying to use the PIC18 port but are also trying to build a
    file intended for use with the Win32 demo

  3. You are trying to build a PIC18 port with a compiler intended to
    build Windows executables.