Page 1 of 1

[Solved] Problems when trying to include lwip libraries in Eclipse.

Posted: Wed Feb 15, 2017 9:24 am
by Rick1997
I am having a difficult time trying to include lwip libraries (like lwip/sockets.h) in Eclipse. I'm using the http_request example project for now. It compiles and runs fine, but I get a lot of unresolved inclusion warnings and these errors. I followed this and this guide to get everything set up in Eclipse. I added '${IDF_PATH}/components/lwip/include' to paths and symbols and rebuilded the index but no luck. I'm on a Windows 10 machine if it matters. I would appreciate any help I can get.

Re: Problems when trying to include lwip libraries in Eclipse.

Posted: Wed Feb 15, 2017 12:14 pm
by WiFive

Re: Problems when trying to include lwip libraries in Eclipse.

Posted: Wed Feb 15, 2017 2:35 pm
by Rick1997
WiFive wrote:You may want to check:

https://github.com/espressif/esp-idf/se ... ype=Issues
Thanks a lot! I've been struggling for two days thinking it was something I did wrong. I'm currently on the 'bugfix/eclipse_windows_paths' branch and after doing a clean build and rebuild I got everything to work.

Re: Problems when trying to include lwip libraries in Eclipse.

Posted: Wed Feb 15, 2017 11:06 pm
by ESP_Angus
Hi Rick,

We have a permanent fix coming for this (which incorporates that bugfix branch and some additional fixes for Eclipse paths on Windows) in the esp-idf master branch very soon. Thanks for your patience!


Angus