I am trying to run some examples from the ESP8266 library , but constantly getting a number of error messages ,
that end : " ... ESP8266WiFi\src/WiFiClient.h:28:18:fatal error: memory : No such file or directory "
What's wrong ??
I am trying to run some examples from the ESP8266 library , but constantly getting a number of error messages ,
that end : " ... ESP8266WiFi\src/WiFiClient.h:28:18:fatal error: memory : No such file or directory "
What's wrong ??
What's wrong ??
You posted no code. You posted only a snippet of the error message. The snippet of answer that I'd provide looks like:
You need to...
It's telling you that it can't find the WiFiClient.h header file. Usually, this comes from:
It's telling you that it can't find the WiFiClient.h header file.
Was that why the message included a line number and column position from WiFiClient.h?
PaulS:
Was that why the message included a line number and column position from WiFiClient.h?
Yep...I'll bet it was!
PaulS:
You posted no code. You posted only a snippet of the error message. The snippet of answer that I'd provide looks like:You need to...
I got the code from the examples in the ESP8266 library , file ESP_Webserver_hello ,,,
just loaded it and tried to compile , changed nothing ; here is the beguinning :#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <WiFiClient.h>
#include <WiFiClientSecure.h>
#include <WiFiServer.h>
#include <WiFiUdp.h>#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>const char* ssid = "3Webkontakt-00B8";
econjack:
It's telling you that it can't find the WiFiClient.h header file. Usually, this comes from:
- not installing the WiFiClient library in the correct place
- installing a new library, but forgetting to restart the IDE after it is installed
- misspelling the file name (C is case-sensitive)
Thanks for the answer ... but I am puzzled anyway ...
- Not correct place ... maybe ... which one is correct ? All other scetches work fine
that I have created during a number of years and using several different libraries ...- I have restarted the IDE number of times .. no change
- File name is not misspelled ; I have not created any code myself , instead
trying a number of the examples supplied with the library
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <WiFiClient.h>
#include <WiFiClientSecure.h>
#include <WiFiServer.h>
#include <WiFiUdp.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>
This is almost never a good idea...
econjack:
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <WiFiClient.h>
#include <WiFiClientSecure.h>
#include <WiFiServer.h>
#include <WiFiUdp.h>#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>This is almost never a good idea...
Yes , believed so too , but removing those double #includes does
not change anything ...still the same error message ...sigh