Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By JohnSL
#22378 I've run into a strange issue, using 1.6.4-673-g8cd3697. If I include <ESP8266WebServer.h> in the .ino file, everything builds just fine. However, if I use the exact same include in a .cpp file, I get the following build error:

fatal error: ESP8266WebServer.h: No such file or directory
#include <ESP8266WebServer.h>

The same .cpp file also has "#include <ESP8266WiFi.h>", which builds just fine. So there seems to be something about ESP8266WebServer.h that prevents it from being included in a .cpp file. Any ideas?

Thanks,
-- John