Page 1 of 1

Header files not found by ECLIPSE

Posted: Mon Mar 19, 2018 11:42 am
by Vader_Mester
Hi Guys,

I'm a bit new to Eclipse. I followed the steps in setting up the projects to work with esp-idf.

It seems that Eclipse is unable to find the header files in the esp-idf directory, and therefore things like ESP specific variables and type definitions (uint8_t for example) are not found.

Any idea how to get around this issue?

Thanks
Vader[BEN]

Edited the topic content and name to be a bit more generic.

Re: Header files not found by ECLIPSE

Posted: Mon Mar 19, 2018 1:56 pm
by dark_sides08
Hello,

Maybe you can see my setting
Capture.PNG
setting
Capture.PNG (16.95 KiB) Viewed 6951 times

and see if it will works for you.


Yudha

Re: Header files not found by ECLIPSE

Posted: Mon Mar 19, 2018 2:49 pm
by kolban
This video may be a little dated, but it may shed some light on the puzzle.

https://www.youtube.com/watch?v=bYh2w0HzS7s

When you create a "Project" in Eclipse, you get to configure that project by telling it where to look for include files that it should consider for resolution either for compilation or for code viewing. Maybe review the video and see if it sheds some light on the story. If not, then maybe you can post back with what you tried and the actual results?

See also:

https://www.youtube.com/watch?v=X47hh-IvJ5M

Re: Header files not found by ECLIPSE

Posted: Mon Mar 19, 2018 7:06 pm
by Vader_Mester
I watched the video, and it helped, although I might be messing up something badly. Will do some checks...
It's not as simple on Windows as on linux though :(

BTW you have a wonderful style and voice for these kinds of videos, keep up the good work 8-)

Re: Header files not found by ECLIPSE

Posted: Tue Mar 20, 2018 9:15 am
by Vader_Mester
I finally managed to get around the issue.

Somehow Eclipse had problems if I had some build files already in the new project...
So i reset everything and now everything is found.

Thanks for the support.

PS: This information should be included in the docomentation, so noobs like me can see it right away.