khoih-prog / ESPAsync_WiFiManager

This is an ESP32 (including ESP32-S2 and ESP32-C3) / ESP8266 WiFi Connection Manager, using ESPAsyncWebServer, with fallback web configuration portal. Use this library for configuring ESP32, ESP8266 modules' WiFi, etc. Credentials at runtime. You can also specify static DNS servers, personalized HostName, fixed or random AP WiFi channel. With examples supporting ArduinoJson 6.0.0+ as well as 5.13.5- . Using AsyncDNSServer instead of DNSServer now.
MIT License
290 stars 73 forks source link

Compilation error: WiFiMulti.h: No such file or director #128

Closed prakash52kar closed 1 year ago

prakash52kar commented 1 year ago

I have removed the Arduino folder and libraries from the PC and reinstalled the Arduino IDE 2.0.3

Then tried to compile the AsyncConfigOnSwitchFS code. However, the following got an error [Board selected was AI-ThinkerESP32CAM]

fatal error: WiFiMulti.h: No such file or directory compilation terminated. exit status 1 Compilation error: WiFiMulti.h: No such file or directory

I have included the ESP32 board in preferences as well as installed WiFI by Arduino library

The error persists

Screenshot (71)

If applicable, add screenshots to help explain your problem.

Information

Please ensure to specify the following:

Example

Arduino IDE version: 1.8.19
ESP8266 Core Version 3.0.2
OS: Ubuntu 20.04 LTS
Linux xy-Inspiron-3593 5.15.0-53-generic #59~20.04.1-Ubuntu SMP Thu Oct 20 15:10:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Context:
I encountered an endless loop while trying to connect to Local WiFi.

Steps to reproduce:
1. ...
2. ...
3. ...
4. ...

Additional context

Add any other context about the problem here


Sending Feature Requests

Feel free to post feature requests. It's helpful if you can explain exactly why the feature would be useful.

There are usually some outstanding feature requests in the existing issues list, feel free to add comments to them.


Sending Pull Requests

Pull Requests with changes and fixes are also welcome!

Please use the astyle to reformat the updated library code as follows (demo for Ubuntu Linux)

  1. Change directory to the library GitHub
xy@xy-Inspiron-3593:~$ cd Arduino/xy/ESPAsync_WiFiManager_GitHub/
xy@xy-Inspiron-3593:~/Arduino/xy/ESPAsync_WiFiManager_GitHub$
  1. Issue astyle command
xy@xy-Inspiron-3593:~/Arduino/xy/ESPAsync_WiFiManager_GitHub$ bash utils/restyle.sh
khoih-prog commented 1 year ago

HI @prakash52kar

Be sure to install the IDE as well as ESP32 core correctly.

As a rule, whenever you get a fatal error, such as missing file, etc., do some basic research and check your system first, before posting the wasting-time issue

The WiFiMulti.h is in ESP32-core

Selection_231

Go back to Arduino IDE v1.8.19 if you can't figure out the issue

Good Luck