Open santhoshnp opened 5 years ago
You do not see the access point?
What shows in your serial log?
Hi, I have problem compiling WiFiManager for Wemos D1, even when I try to compile example for WiFiManager.
This is error message what I get:
In file included from C:\Users\B\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/stdio.h:6:0,
from C:\Users\B\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.1/tools/sdk/libc/xtensa-lx106-elf/include/stdio.h:63,
from C:\Users\B\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.1\cores\esp8266/Arduino.h:32,
from sketch\AutoConnect.ino.cpp:1:
C:\Users\B\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:25:130: error: 'const char HTTP_HEAD []' redeclared as different kind of symbol
^
C:\Users\B\Documents\Arduino\libraries\WiFiManager/WiFiManager.h:25:24: note: in expansion of macro 'PROGMEM'
const char HTTP_HEAD[] PROGMEM = "<!DOCTYPE html><html lang=\"en\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\"/> ^
In file included from C:\Users\B\Documents\Arduino\libraries\WiFiManager\examples\AutoConnect\AutoConnect.ino:5:0:
C:\Users\B\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.6.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:33:39: error: previous declaration of 'HTTPMethod HTTP_HEAD'
enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
^
exit status 1 Error compiling for board WeMos D1 R1.
Any help with this, please!
Why are you not posting your own issue for this?
Use the beta
@belazelkos For this error basically it boiled down to me having two versions of wifimanager installed. And the only way I found that out, was it reported I had .15 beta installed, so I uninstalled that through the library manager, then it reported that .14 was magically installed so I uninstalled that. I then from that point, installed .15 beta and it compiled and worked for me. I was getting the exact error as you. Hope this helps someone because I wasted a good 4 hours debugging this.
@webdevbrian Thanks for your solution ! It helps me a lot !
Hi team, I am using ESP8266 in that i am working with wifi manager i have downloaded the wifi library and i am using the example code of wifi manager
In this code run successfully without any error but when i connect to try to connect the SSID it is not discovering as AutoConnectAP i dont why i have followed these link 1) http://www.martyncurrey.com/esp8266-and-the-arduino-ide-part-5-adding-wifimanager/ 2) https://randomnerdtutorials.com/wifimanager-with-esp8266-autoconnect-custom-parameter-and-manage-your-ssid-and-password/ 3)https://github.com/tzapu/WiFiManager i dont why can you please help me