Library importing problems

hi im getting this error when trying to compile a sketch in the IDE,i am using the file from

when i try to import it as a zip library it says no valid library so i just isolated the library folder inside of the src of the main folder and it is giving me this error below.

\OneDrive\Documents\Arduino\libraries\ESP8266WiFi\src\ESP8266WiFiAP.cpp:29:10: fatal error: LwipDhcpServer-NonOS.h: No such file or directory
29 | #include <LwipDhcpServer-NonOS.h>

do i need to import the library differently from time to time when i download from github it tells me "no usable library found" or something along those lines when there is a library inside/code examples

anyone have any ideas to help? i deleted the folder and tried to reinstall but sae issue

It's a core, not a library. See the section " Installing with Boards Manager" in the page that you linked.

i do have the board url in the preferences already it just makes that error code in the compiler when
it tries to import the wifi library

Did you do the below step? If yes, I don't know the answer to your question.

yes i did do the step below,its not a board issue its a compiler issue.
when i try to upload a sketch with the library "esp8266wifi" its gives me the error listed above,
im trying to figure out how to solve this issue

Hi. have you managed to solve this problem? I just installed arduino ide 1.8.19 with esp8266 3.0.2 and it is generating the same error and it does not allow me to compile the code

I do getting same error while compiling my nodeMCU:
"ESP8266WiFiAP.cpp:29:10: fatal error: LwipDhcpServer-NonOS.h: No such file or directory"

no compiling errors showing while testing example code "Blink"
please anybody help me to overcome this problem??

Hello, I had solved the problem by deleting one of the 2 possible directories the compilator found to compile ESP8266WiFi. As far as i understand the problem you should not install a specific "ESP8266WiFi library" (as I did) because the core lib of esp8266 allready has one.
Nicolas

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.