mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #72] Errors #53
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yomasa on GitHub (Jan 19, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/72
Error when try to run
WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp: In member
function 'void WiFiManager::handleWifiSave()':
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:462:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_ip.fromString(server->arg("ip"));
^
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:467:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_gw.fromString(server->arg("gw"));
^
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:472:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_sn.fromString(server->arg("sn"));
^
exit status 1
Error compiling.
@domonetic commented on GitHub (Jan 19, 2016):
Uipethernet is for arduino core. Wifimanager is for esp8266 core. Not is a error
@yomasa commented on GitHub (Jan 19, 2016):
yes, here the code
#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino
//needed for library
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h> //https://github.com/tzapu/WiFiManager
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
}
@tzapu commented on GitHub (Jan 19, 2016):
You may want to check that board type in arduino ide is set to an esp variant.
Since you are using the latest github manager you will need to checkout the latest esp8266 core for arduino as well
@yomasa commented on GitHub (Jan 19, 2016):
I reinstall everything fresh when I compile the AutoConnect sample I get this
Build options changed, rebuilding all
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp: In member function 'void WiFiManager::handleWifiSave()':
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:462:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_ip.fromString(server->arg("ip"));
^
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:467:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_gw.fromString(server->arg("gw"));
^
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:472:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_sn.fromString(server->arg("sn"));
^
exit status 1
Error compiling.
@tzapu commented on GitHub (Jan 19, 2016):
hi, since you got the lates from github, you need to get the latest esp8266 arduino core as well
cheers
alex
@yomasa commented on GitHub (Jan 19, 2016):
How do i do that?
@yomasa commented on GitHub (Jan 19, 2016):
using 2.0
@tzapu commented on GitHub (Jan 19, 2016):
https://github.com/esp8266/Arduino#using-git-version-
@yomasa commented on GitHub (Jan 19, 2016):
Did that still same error, How can I check/verify the versions?
@mocheffendi commented on GitHub (Jan 19, 2016):
What version of IDE did you use?
On Jan 19, 2016 9:10 PM, "yomasa" notifications@github.com wrote:
@yomasa commented on GitHub (Jan 19, 2016):
this one
http://arduino.esp8266.com/staging/package_esp8266com_index.json
@yomasa commented on GitHub (Jan 19, 2016):
I tried the stable and staging versions
@mocheffendi commented on GitHub (Jan 19, 2016):
arduino IDE v 1.6.7 can't compile ESP 8266 sketch
use Arduino IDE v 1.6.5 to compile ESP 8266 sketch.
@yomasa commented on GitHub (Jan 19, 2016):
I got it working, I use Arduino 1.6.7 and had to install wifi manager 0.5.0 then 0.6.0 for it to work.
if you just install 0.6.0 I get
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:467:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_gw.fromString(server->arg("gw"));
^
/Users/jblanco-us/Documents/Arduino/libraries/WiFiManager-master/WiFiManager.cpp:472:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_sn.fromString(server->arg("sn"));
^
exit status 1
Error compiling.
@mocheffendi commented on GitHub (Jan 19, 2016):
after use the latest library and the latest example AutoConnectWithFSParametersAndCustomIP
i got the same error
@tzapu commented on GitHub (Jan 19, 2016):
hi, you need to update the esp8266 cora package, not the arduino ide itself
https://github.com/esp8266/Arduino#using-git-version-
@nibelungen commented on GitHub (Jan 20, 2016):
Same here:
Arduino 1.6.7 (current)
ESP8266 2.0.0 (stable)
WiFiManger (master dl from 19.01.2016)
Used Example AutoConnect
Used Example AutoConnect (modified setAPConfig - uncommented string)
@tzapu commented on GitHub (Jan 20, 2016):
setAPConfig was renamed to wifiManager.setAPStaticIPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0));
see examples and readme
cheers
@tzapu commented on GitHub (Jan 20, 2016):
but, on top of that, you will get yomasa s error, you need a newer version of the esp8266 package, the github one for now
@nibelungen commented on GitHub (Jan 20, 2016):
thanks for as always fast feedback.
Maybe you want to update your examples to the new syntax - even if it is uncommented.
Will try the git version after i had tried this:
Arduino 1.6.5r5
ESP8266 2.1.0-rc1 (staging does not work with Arduino 1.6.7)
WiFiManger (master.zip dl from 19.01.2016)
Used Example AutoConnect (unchanged)
@tzapu commented on GitHub (Jan 20, 2016):
forgot about random tests in samples, will cleanup soon i guess
you still need a newer esp8266, the fromString function call above has been added a few days ago
@nibelungen commented on GitHub (Jan 20, 2016):
Latest Test with
Arduino 1.6.5r5
ESP8266 current git (WiFi files from 19.01.2016 16:27)
WiFiManger (master.zip dl from 19.01.2016)
Result
@nibelungen commented on GitHub (Jan 20, 2016):
@tzapu what is your environment (Arduino Version ...)
@tzapu commented on GitHub (Jan 20, 2016):
arduino ide 1.6.6
checkout of https://github.com/esp8266/Arduino#using-git-version- latest
and obviously the latest WiFiManager :)
@tzapu commented on GitHub (Jan 20, 2016):
@nibelungen the error above looks like there is something wrong in your libraris/hardware folder
are you sure you don t have it included twice?
@nibelungen commented on GitHub (Jan 20, 2016):
Can confirm it works with
Arduino 1.6.6
ESP8266 current git
WiFiManager latest
Thanks tzapu
@mocheffendi commented on GitHub (Jan 20, 2016):
Hi Tzapu,
Arduino IDE 1.6.5 r5
ESP 8266 git version
WiFiManager latest
confirm compile and upload but this is the serial monitor for sketch from the example AutoConnectWithFSParametersAndCustomIP.ino
@tzapu commented on GitHub (Jan 20, 2016):
hi,
try a SPIFFS.format() before ?
Seems to be some memory issue i guess
Did you get the latest example as well, I think i updated that one yesterday…
Cheers
@mocheffendi commented on GitHub (Jan 20, 2016):
yes confirm solved
thanks
@mocheffendi commented on GitHub (Jan 20, 2016):
hi tzapu,
no network found
@tzapu commented on GitHub (Jan 21, 2016):
do you have a quality filter set? maybe it s too aggressive ..
@mocheffendi commented on GitHub (Jan 21, 2016):
hi Tzapu,
disable the quality filter
and back to 0.6 with no resut on scan
@tzapu commented on GitHub (Jan 21, 2016):
it s weird, i am not sure what else you could check or try
i ve tested it on mine as well, i am not seeing one APs that I know is there, but I am definetly seeing a lot of others
@tzapu commented on GitHub (Jan 21, 2016):
might be this issue here https://github.com/esp8266/Arduino/issues/1355
@yomasa commented on GitHub (Jan 21, 2016):
The issue seems to be in the wifiManager code, I had to setup another computer today to work on my project, New IDE; NEW install of everything and wifiManager 0.6.0 , Same problems then I went into the update manager and install version 0.5.0 of wifiManager and then updated to 0.6.0 that fixed it no more errors.
@mocheffendi commented on GitHub (Jan 22, 2016):
use esp8266 latest github and WiFiManager latest github no result on scan wifi
back to
use esp8266 2.00 and WiFiManager 0.6 scan with result (confirm OK)
i think the bug is on esp8266 board latest github. git clone https://github.com/esp8266/Arduino.git esp8266
i'm waiting for stable release of esp8266 2.1 and WiFiManager 0.7
thanks
@tzapu commented on GitHub (Jan 22, 2016):
if it s the error above, it got introduced with the update to sdk 1.5 which is not in 2.0.0, only above
i hope 2.1.0, or at least another candidate with some fixes comes out fast
@bidyutper commented on GitHub (Jan 30, 2016):
what version should i use...arduino ide,,,esp core & wifi manager got confusd....currently usin arduino ide 1.6.7 core 2.0 & wifi manager 6.0..plz
@tzapu commented on GitHub (Jan 31, 2016):
for core 2.0.0 you can only use 0.6
for core 2.1.0rc2 you can use 0.7
hope this helps
@bidyutper commented on GitHub (Jan 31, 2016):
wrkin with ide 1.6.5....core 2.0.0 & wifi manager 0.5.0
nxt will try with ide 1.6.6 & ide 1.6.7
@tzapu commented on GitHub (Jan 31, 2016):
you might try 0.6 on 2.0.0 with 1.6.5 as well
@bidyutper commented on GitHub (Jan 31, 2016):
yeah tht one also wrkin fine...thx for awsm config on esp ... currently usin mqtt config let me try out ths....
@scropion86 commented on GitHub (Jan 31, 2016):
@tzapu i think you should keep the current stable version 0.7 and wait till ESP/Arduino core updated as the Newly release SDK 1.5.2 has WPS enabled so this also can be implemented in your WIFi Manager.
and Make a clear Note in your Github Readme that stable release is compatible with ESP/Arduino core 2.0.
and trunk version compatible with ESP/Arduino core RC 2.0.1 or whatever RC version
@tzapu commented on GitHub (Jan 31, 2016):
unfortunatelly, 0.7 does not work with 2.0.0, only with the latest staging.
after the next stable, things should be a lot better, we shall see
got any docs pertaining to WPS on the esp?
cheers
@scropion86 commented on GitHub (Jan 31, 2016):
here it's
http://bbs.espressif.com/viewtopic.php?f=46&t=1702
http://bbs.espressif.com/viewtopic.php?f=46&t=1703
there is also changes in the AT commands and you can create your own AT command.
@tzapu commented on GitHub (Feb 4, 2016):
@mocheffendi igrr just added a fix for the scanning missing access points
it works for me
can you try as well?
@flloto commented on GitHub (Feb 7, 2016):
Hi,
with ide 1.6.5....core 2.0.0 & wifi manager 0.6.0
Not working:
Error- Similar Yomasa:
compile the AutoConnect sample:
C:\Users\Fede\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp: In member function 'void WiFiManager::handleWifiSave()':
C:\Users\Fede\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:462:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_ip.fromString(server->arg("ip"));
^
C:\Users\Fede\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:467:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_gw.fromString(server->arg("gw"));
^
C:\Users\Fede\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:472:20: error: 'class IPAddress' has no member named 'fromString'
_sta_static_sn.fromString(server->arg("sn"));
^
Error compiling.
with ide 1.6.5....core 2.0.0 & wifi manager 0.9.0
Work fine, I´m testing.
@tzapu commented on GitHub (Feb 7, 2016):
that would be correct, i have added some code in 0.8 i think to make it compile on core 2.0.0
@danielitp commented on GitHub (May 13, 2016):
error: 'class WiFiManager' has no member named 'getConfigPortalSSID'
Serial.println(myWiFiManager->getConfigPortalSSID());
error: 'class WiFiManager' has no member named 'setMinimumSignalQuality'
wifiManager.setMinimumSignalQuality(50);
error: invalid conversion from 'void ()(WiFiManager)' to 'void (*)()' [-fpermissive]
wifiManager.setAPCallback(configModeCallback);
C:\Users\itp\Documents\Arduino\libraries\WiFiManager/WiFiManager.h:61:13: error: initializing argument 1 of 'void WiFiManager::setAPCallback(void (*)())' [-fpermissive]
void setAPCallback( void (*func)(void) );
@tzapu commented on GitHub (May 13, 2016):
hi,
you need to update to the latest wifimanager
cheers
@YogKar commented on GitHub (Jun 14, 2017):
Hello,
I am using Arduino 1.8.3
Esp8266 package "https://github.com/esp8266/Arduino/releases/download/2.3.0/esp8266-2.3.0.zip"
wifimanager library 0.12.0
error:
AutoConnect:20: error: 'class WiFiManager' has no member named 'setAPConfig'
exit status 1
'class WiFiManager' has no member named 'setAPConfig'
@YogKar commented on GitHub (Jun 14, 2017):
UPDATE:
It works only when I use wifimanager library 0.6.0 (V6).
@Branen101 commented on GitHub (Sep 27, 2017):
have an issue when i try to load onto card
Arduino: 1.8.4 (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"
sketch\APScan.cpp: In member function 'bool APScan::start()':
APScan.cpp:18: error: no matching function for call to 'ESP8266WiFiClass::scanNetworks(bool, bool&)'
results = WiFi.scanNetworks(true, settings.apScanHidden); // (async = true & show_hidden = true)
sketch\APScan.cpp:18:58: note: candidate is:
In file included from sketch\APScan.h:6:0,
C:\Users\User\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:243:12: note: int8_t ESP8266WiFiClass::scanNetworks(bool)
C:\Users\User\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:243:12: note: candidate expects 1 argument, 2 provided
exit status 1
no matching function for call to 'ESP8266WiFiClass::scanNetworks(bool, bool&)'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
@tablatronix commented on GitHub (Sep 27, 2017):
What code is that? Its not wifimanager.
results = WiFi.scanNetworks(true, settings.apScanHidden); // (async = true & show_hidden = true)@rajrawoor commented on GitHub (Aug 31, 2018):
Hi ..
I am getting the following errors when trying to compile .. Please help ...
Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp: In member function 'void WiFiManager::setupConfigPortal()':
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:146:71: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(), WiFiManager const>::type)'
server->on(String(F("/")), std::bind(&WiFiManager::handleRoot, this));
^
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:146:71: note: candidates are:
In file included from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:13:
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
void on(const char* uri, THandlerFunction handler);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:147:81: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(unsigned char), WiFiManager const, bool>::type)'
server->on(String(F("/wifi")), std::bind(&WiFiManager::handleWifi, this, true));
^
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:147:81: note: candidates are:
In file included from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:13:
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
void on(const char* uri, THandlerFunction handler);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:148:83: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(unsigned char), WiFiManager const, bool>::type)'
server->on(String(F("/0wifi")), std::bind(&WiFiManager::handleWifi, this, false));
^
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:148:83: note: candidates are:
In file included from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:13:
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
void on(const char* uri, THandlerFunction handler);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:149:83: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(), WiFiManager const>::type)'
server->on(String(F("/wifisave")), std::bind(&WiFiManager::handleWifiSave, this));
^
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:149:83: note: candidates are:
In file included from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:13:
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
void on(const char* uri, THandlerFunction handler);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:150:72: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(), WiFiManager const>::type)'
server->on(String(F("/i")), std::bind(&WiFiManager::handleInfo, this));
^
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:150:72: note: candidates are:
In file included from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:13:
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
void on(const char* uri, THandlerFunction handler);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:151:73: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(), WiFiManager const>::type)'
server->on(String(F("/r")), std::bind(&WiFiManager::handleReset, this));
^
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:151:73: note: candidates are:
In file included from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:13:
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
void on(const char* uri, THandlerFunction handler);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:153:77: error: no matching function for call to 'ESP8266WebServer::on(String, std::_Bind_helper<false, void (WiFiManager::)(), WiFiManager const>::type)'
server->on(String(F("/fwlink")), std::bind(&WiFiManager::handleRoot, this)); //Microsoft captive portal. Maybe not needed. Might be handled by notFound handler.
^
/Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:153:77: note: candidates are:
In file included from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.h:17:0,
from /Users/rawoor/Documents/Arduino/libraries/WiFiManager/WiFiManager.cpp:13:
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
void on(const char* uri, THandlerFunction handler);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:79:8: note: no known conversion for argument 1 from 'String' to 'const char*'
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)
void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
^
/Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer/src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
Multiple libraries were found for "WiFiManager.h"
Used: /Users/rawoor/Documents/Arduino/libraries/WiFiManager
Not used: /Users/rawoor/Documents/Arduino/libraries/WiFiManager-master
Multiple libraries were found for "ESP8266WebServer.h"
Used: /Users/rawoor/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WebServer
Not used: /Users/rawoor/Documents/Arduino/libraries/ESPWebServer-master
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
@tablatronix commented on GitHub (Aug 31, 2018):
Use esp 2.4+
@rajrawoor commented on GitHub (Oct 2, 2018):
hi Tablatronix,
how can i get esp2.4 ? when i try to download the esp library i only get 2.3
Thank You
@dragondaud commented on GitHub (Oct 2, 2018):
Use this board manager link:
http://arduino.esp8266.com/stable/package_esp8266com_index.json
And follow the instructions at:
https://github.com/esp8266/Arduino#installing-with-boards-manager
@tablatronix commented on GitHub (Oct 2, 2018):
This is no longer an issue in dev version.
Will try to update hotfixes
@au190 commented on GitHub (Oct 31, 2018):
Hi All
Is there any update on this ? I got the same error "rajrawoor commented on Aug 31" WiFiManager.cpp error.
How can I compile the code ?
Has anybody did it with success ?
Thx a lot of your answer.
@tablatronix commented on GitHub (Nov 1, 2018):
I will try to fix today
@au190 commented on GitHub (Nov 2, 2018):
Oh that would be GREAT !
Can you replay here is its done and working ?
Thx
@tablatronix commented on GitHub (Nov 8, 2018):
try hotfixes branch
issue is here #576
This issue is not related to this, locking thread