- Tue Feb 09, 2016 12:40 pm
#40803
Ill got to try 1.6.5. then,
Just installed 1.6.7. from scratch. Also installed the boards via the boardmanager.
(http://arduino.esp8266.com/stable/packa ... index.json)Ive als put the libraries from github in arduino/libraries.
I got the following:
Code: Select all~Documents\Arduino\libraries\ESP8266WiFi\src\ESP8266WiFiAP.cpp: In member function 'bool ESP8266WiFiAPClass::softAPConfig(IPAddress, IPAddress, IPAddress)':
~Documents\Arduino\libraries\ESP8266WiFi\src\ESP8266WiFiAP.cpp:218:45: error: 'wifi_softap_set_dhcps_lease_time' was not declared in this scope
if(!wifi_softap_set_dhcps_lease_time(720)) {
^
Multiple libraries were found for "DNSServer.h"
Used: ~Documents\Arduino\libraries\DNSServer
Not used: ~AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\DNSServer
Multiple libraries were found for "ESP8266WiFi.h"
Used: ~Documents\Arduino\libraries\ESP8266WiFi
Not used: ~AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi
Multiple libraries were found for "ESP8266mDNS.h"
Used: ~Documents\Arduino\libraries\ESP8266mDNS
Not used: ~AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266mDNS
exit status 1
Error compiling.
When I remove the github libraries i get the old error again.
Code: Select all~\Documents\Arduino\libraries\myWebServer-master\myWebServer.cpp: In function 'bool isAdmin()':
~\Documents\Arduino\libraries\myWebServer-master\myWebServer.cpp:196:14: error: 'class ESP8266WebServer' has no member named 'authenticate'
if (!server.authenticate(ConfigUsername.c_str(), ConfigPassword.c_str()))
^
~\Documents\Arduino\libraries\myWebServer-master\myWebServer.cpp:198:10: error: 'class ESP8266WebServer' has no member named 'requestAuthentication'
server.requestAuthentication();
^
~\Documents\Arduino\libraries\myWebServer-master\myWebServer.cpp: In member function 'void MyWebServerClass::begin()':
~\Documents\Arduino\libraries\myWebServer-master\myWebServer.cpp:660:7: error: 'class ESP8266WiFiClass' has no member named 'setAutoReconnect'
WiFi.setAutoReconnect(true);
^
exit status 1
Error compiling.
so this could be because me having 1.6.7 installed?