Eclipse problem: can't resolve "Unresolved inclusion" for "cJSON.h" file
Posted: Fri Jun 08, 2018 12:26 pm
Hi,
I think I have an odd problem in my project.
Within the project I have lots of ' #include "somefile.h" ' lines which reference various ESP-IDF header files, for example to header file "esp_err.h". From the beginning I have a list of various predefined PATHS and SYMBOLS, when I add a reference to another header file that is not in the existing list I simply add another path to the existing list, rebuild the index and things get sorted.
The exception to the rule is instruction ' #include "cJSON.h" '. Although I have added the path to its location ( see second line in the "includes" tab in "Path and Symbols" in the attached image file ) Eclipse stubbornly lists that one as an "Unresolved inclusion". The +/- 20 or so other ones it happily resolves but not that one.
By the way: the project builds just fine both from within Eclipse or from the command line using command "make -j4"
Anyone out there with an idea as to what might be causing this
I think I have an odd problem in my project.
Within the project I have lots of ' #include "somefile.h" ' lines which reference various ESP-IDF header files, for example to header file "esp_err.h". From the beginning I have a list of various predefined PATHS and SYMBOLS, when I add a reference to another header file that is not in the existing list I simply add another path to the existing list, rebuild the index and things get sorted.
The exception to the rule is instruction ' #include "cJSON.h" '. Although I have added the path to its location ( see second line in the "includes" tab in "Path and Symbols" in the attached image file ) Eclipse stubbornly lists that one as an "Unresolved inclusion". The +/- 20 or so other ones it happily resolves but not that one.
By the way: the project builds just fine both from within Eclipse or from the command line using command "make -j4"
Anyone out there with an idea as to what might be causing this