11 years, 5 months ago.

Cannot find lwipopts_conf.h

Hi,

I'm writing a HTTP client that uses the HTTP client library. I've imported the libraries: mbed-rtos, lwip, Socket and HTTPClient. However I cannot compile becuase of this error:

Error: Cannot open source input file "lwipopts_conf.h": No such file or directory in "lwip/lwipopts.h", Line: 22, Col: 27

Which library must I import to get my hands on lwiopts_conf.h. I've looked without success. Thanks, Ravi/

1 Answer

11 years, 5 months ago.

Hello,

what target are you using? That could be a problem. Did you check revision of each libraries you imported?

conf header file should be part of lwip library. I looked at github mbed repo. The header for K64F is located mbed\libraries\net\eth\lwip-eth\arch\TARGET_K64F\lwipopts_conf.h for instance.

Regards,
0xc0170

Hi Martin,

Thank you for responding. First, the target is LPC1768. You are right. I was infact the wrong version of the library. I started from scratch, deleted all libraries and imported just EthernetInterface which contains the required header files.

Thanks again, Ravi/

posted by Ravindra Rao 14 May 2014