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

Rick1997
Posts: 6
Joined: Thu Feb 09, 2017 1:35 pm

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

Postby Rick1997 » Wed Feb 15, 2017 9:24 am

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.
Last edited by Rick1997 on Thu Feb 16, 2017 8:05 am, edited 1 time in total.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

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

Postby WiFive » Wed Feb 15, 2017 12:14 pm


Rick1997
Posts: 6
Joined: Thu Feb 09, 2017 1:35 pm

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

Postby Rick1997 » Wed Feb 15, 2017 2:35 pm

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.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

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

Postby ESP_Angus » Wed Feb 15, 2017 11:06 pm

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

Who is online

Users browsing this forum: No registered users and 83 guests