Guest User

ESP8266 Libary Error V2.30

a guest
Feb 1st, 2019
173
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Arduino: 1.8.9 Hourly Build 2018/12/11 04:33 (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, 921600, 4M (3M SPIFFS)"
  2.  
  3. Build-Optionen wurden verändert, alles wird neu kompiliert
  4. C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp: In member function 'void WiFiManager::setupConfigPortal()':
  5.  
  6. C:\Users\user\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)'
  7.  
  8. server->on(String(F("/")), std::bind(&WiFiManager::handleRoot, this));
  9.  
  10. ^
  11.  
  12. C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:146:71: note: candidates are:
  13.  
  14. In file included from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,
  15.  
  16. from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:
  17.  
  18. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
  19.  
  20. void on(const char* uri, THandlerFunction handler);
  21.  
  22. ^
  23.  
  24. C:\Users\user\AppData\Local\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*'
  25.  
  26. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
  27.  
  28. void on(const char* uri, HTTPMethod method, THandlerFunction fn);
  29.  
  30. ^
  31.  
  32. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
  33.  
  34. C:\Users\user\AppData\Local\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)
  35.  
  36. void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
  37.  
  38. ^
  39.  
  40. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
  41.  
  42. C:\Users\user\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)'
  43.  
  44. server->on(String(F("/wifi")), std::bind(&WiFiManager::handleWifi, this, true));
  45.  
  46. ^
  47.  
  48. C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:147:81: note: candidates are:
  49.  
  50. In file included from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,
  51.  
  52. from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:
  53.  
  54. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
  55.  
  56. void on(const char* uri, THandlerFunction handler);
  57.  
  58. ^
  59.  
  60. C:\Users\user\AppData\Local\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*'
  61.  
  62. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
  63.  
  64. void on(const char* uri, HTTPMethod method, THandlerFunction fn);
  65.  
  66. ^
  67.  
  68. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
  69.  
  70. C:\Users\user\AppData\Local\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)
  71.  
  72. void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
  73.  
  74. ^
  75.  
  76. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
  77.  
  78. C:\Users\user\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)'
  79.  
  80. server->on(String(F("/0wifi")), std::bind(&WiFiManager::handleWifi, this, false));
  81.  
  82. ^
  83.  
  84. C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:148:83: note: candidates are:
  85.  
  86. In file included from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,
  87.  
  88. from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:
  89.  
  90. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
  91.  
  92. void on(const char* uri, THandlerFunction handler);
  93.  
  94. ^
  95.  
  96. C:\Users\user\AppData\Local\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*'
  97.  
  98. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
  99.  
  100. void on(const char* uri, HTTPMethod method, THandlerFunction fn);
  101.  
  102. ^
  103.  
  104. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
  105.  
  106. C:\Users\user\AppData\Local\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)
  107.  
  108. void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
  109.  
  110. ^
  111.  
  112. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
  113.  
  114. C:\Users\user\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)'
  115.  
  116. server->on(String(F("/wifisave")), std::bind(&WiFiManager::handleWifiSave, this));
  117.  
  118. ^
  119.  
  120. C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:149:83: note: candidates are:
  121.  
  122. In file included from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,
  123.  
  124. from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:
  125.  
  126. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
  127.  
  128. void on(const char* uri, THandlerFunction handler);
  129.  
  130. ^
  131.  
  132. C:\Users\user\AppData\Local\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*'
  133.  
  134. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
  135.  
  136. void on(const char* uri, HTTPMethod method, THandlerFunction fn);
  137.  
  138. ^
  139.  
  140. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
  141.  
  142. C:\Users\user\AppData\Local\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)
  143.  
  144. void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
  145.  
  146. ^
  147.  
  148. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
  149.  
  150. C:\Users\user\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)'
  151.  
  152. server->on(String(F("/i")), std::bind(&WiFiManager::handleInfo, this));
  153.  
  154. ^
  155.  
  156. C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:150:72: note: candidates are:
  157.  
  158. In file included from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,
  159.  
  160. from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:
  161.  
  162. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
  163.  
  164. void on(const char* uri, THandlerFunction handler);
  165.  
  166. ^
  167.  
  168. C:\Users\user\AppData\Local\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*'
  169.  
  170. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
  171.  
  172. void on(const char* uri, HTTPMethod method, THandlerFunction fn);
  173.  
  174. ^
  175.  
  176. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
  177.  
  178. C:\Users\user\AppData\Local\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)
  179.  
  180. void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
  181.  
  182. ^
  183.  
  184. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
  185.  
  186. C:\Users\user\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)'
  187.  
  188. server->on(String(F("/r")), std::bind(&WiFiManager::handleReset, this));
  189.  
  190. ^
  191.  
  192. C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:151:73: note: candidates are:
  193.  
  194. In file included from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,
  195.  
  196. from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:
  197.  
  198. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
  199.  
  200. void on(const char* uri, THandlerFunction handler);
  201.  
  202. ^
  203.  
  204. C:\Users\user\AppData\Local\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*'
  205.  
  206. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
  207.  
  208. void on(const char* uri, HTTPMethod method, THandlerFunction fn);
  209.  
  210. ^
  211.  
  212. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
  213.  
  214. C:\Users\user\AppData\Local\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)
  215.  
  216. void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
  217.  
  218. ^
  219.  
  220. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
  221.  
  222. C:\Users\user\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)'
  223.  
  224. server->on(String(F("/fwlink")), std::bind(&WiFiManager::handleRoot, this)); //Microsoft captive portal. Maybe not needed. Might be handled by notFound handler.
  225.  
  226. ^
  227.  
  228. C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:153:77: note: candidates are:
  229.  
  230. In file included from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.h:17:0,
  231.  
  232. from C:\Users\user\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp:13:
  233.  
  234. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:79:8: note: void ESP8266WebServer::on(const char*, ESP8266WebServer::THandlerFunction)
  235.  
  236. void on(const char* uri, THandlerFunction handler);
  237.  
  238. ^
  239.  
  240. C:\Users\user\AppData\Local\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*'
  241.  
  242. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: void ESP8266WebServer::on(const char*, HTTPMethod, ESP8266WebServer::THandlerFunction)
  243.  
  244. void on(const char* uri, HTTPMethod method, THandlerFunction fn);
  245.  
  246. ^
  247.  
  248. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:80:8: note: candidate expects 3 arguments, 2 provided
  249.  
  250. C:\Users\user\AppData\Local\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)
  251.  
  252. void on(const char* uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);
  253.  
  254. ^
  255.  
  256. C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WebServer\src/ESP8266WebServer.h:81:8: note: candidate expects 4 arguments, 2 provided
  257.  
  258. exit status 1
  259. Fehler beim Kompilieren für das Board NodeMCU 0.9 (ESP-12 Module).
  260.  
  261. Dieser Bericht wäre detaillierter, wenn die Option
  262. "Ausführliche Ausgabe während der Kompilierung"
  263. in Datei -> Voreinstellungen aktiviert wäre.
RAW Paste Data