Hi
I have problem with compilation any project includes ESP8266WIFI lib after I have replaced all old libs with new ones. It says that some libs are missing. Have anyone had that problem before? What to do?
Hi
I have problem with compilation any project includes ESP8266WIFI lib after I have replaced all old libs with new ones. It says that some libs are missing. Have anyone had that problem before? What to do?
It says that some libs are missing.
Some undefined "it" told you EXACTLY what the problem is. Don't you think that telling us THAT is more useful than "some libs are missing"?
the library is part of the esp8266 arduino core. reinstall the core
Hi again,
I did reinstall the core and still is showing errors:
In file included from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:40:0,
from C:\Elektronika\Arduino_projects\SuperSmartRGB\SuperSmartRGB.ino:3:
C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiServer.h:52:14: error: invalid abstract return type for member function 'WiFiClient WiFiServer::available(uint8_t*)'
WiFiClient available(uint8_t* status = NULL);
^
In file included from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39:0,
from C:\Elektronika\Arduino_projects\SuperSmartRGB\SuperSmartRGB.ino:3:
C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiClient.h:45:7: note: because the following virtual functions are pure within 'WiFiClient':
class WiFiClient : public Client, public SList {
^
In file included from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiClient.h:27:0,
from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39,
from C:\Elektronika\Arduino_projects\SuperSmartRGB\SuperSmartRGB.ino:3:
C:\Users\LENOVO\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Client.h:37:22: note: virtual void Client::flush()
virtual void flush() = 0;
^
C:\Users\LENOVO\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Client.h:38:22: note: virtual void Client::stop()
virtual void stop() = 0;
^
In file included from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecure.h:21:0,
from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from C:\Elektronika\Arduino_projects\SuperSmartRGB\SuperSmartRGB.ino:3:
C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecureBearSSL.h:58:22: error: invalid abstract return type for member function 'BearSSL::WiFiClientSecure BearSSL::WiFiServerSecure::available(uint8_t*)'
WiFiClientSecure available(uint8_t* status = NULL);
^
In file included from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecureBearSSL.h:24:0,
from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecure.h:21,
from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from C:\Elektronika\Arduino_projects\SuperSmartRGB\SuperSmartRGB.ino:3:
C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecureBearSSL.h:34:7: note: because the following virtual functions are pure within 'BearSSL::WiFiClientSecure':
class WiFiClientSecure : public WiFiClient {
^
In file included from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiClient.h:27:0,
from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39,
from C:\Elektronika\Arduino_projects\SuperSmartRGB\SuperSmartRGB.ino:3:
C:\Users\LENOVO\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Client.h:37:22: note: virtual void Client::flush()
virtual void flush() = 0;
^
C:\Users\LENOVO\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Client.h:38:22: note: virtual void Client::stop()
virtual void stop() = 0;
^
In file included from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecure.h:20:0,
from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:41,
from C:\Elektronika\Arduino_projects\SuperSmartRGB\SuperSmartRGB.ino:3:
C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiServerSecureAxTLS.h:36:20: error: invalid abstract return type for member function 'axTLS::WiFiClientSecure axTLS::WiFiServerSecure::available(uint8_t*)'
WiFiClientSecure available(uint8_t* status = NULL);
^
In file included from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecure.h:23:0,
from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:42,
from C:\Elektronika\Arduino_projects\SuperSmartRGB\SuperSmartRGB.ino:3:
C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiClientSecureAxTLS.h:33:7: note: because the following virtual functions are pure within 'axTLS::WiFiClientSecure':
class WiFiClientSecure : public WiFiClient {
^
In file included from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/WiFiClient.h:27:0,
from C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39,
from C:\Elektronika\Arduino_projects\SuperSmartRGB\SuperSmartRGB.ino:3:
C:\Users\LENOVO\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Client.h:37:22: note: virtual void Client::flush()
virtual void flush() = 0;
^
C:\Users\LENOVO\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Client.h:38:22: note: virtual void Client::stop()
virtual void stop() = 0;
^
install the release version over Boards manager, not the github version
I can't because IDE doesn't want to download it "Error downloading". I tried reinstall whole Arduino IDE and no success with that issue. The same is with library, I can't download library via IDE, same error.
I'm using ARDUINO 1.8.6
You need to delete C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi. The ESP8266WiFi library is part of the ESP8266 core for Arduino. If you use a version of the library that doesn't match the ESP8266 core version you have installed then you will get errors. There is no good reason for you to install the ESP8266WiFi library separately from the ESP8266 core.
Hi again,
I deleted C:\Users\LENOVO\Documents\Arduino\libraries\ESP8266WiFi and now IDE shouting about missing library. Like I said, I can't download libs using Library Manager because every time is giving me error. Reinstalation IDE didn't help.
When you encounter an error you'll see a button on the right side of the orange bar "Copy error messages". Click that button. Paste the error in a message here USING CODE TAGS (</> button on the toolbar).
Problem sorted!
Of course my bad. I had selected option "Auto-detect proxy settings", after change that to "no proxy" IDE started to update everything and now works!. Thank you all for advice.