-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
Status: Awaiting triageIssue is waiting for triageIssue is waiting for triage
Description
Board
WEMOS D1 mini
Device Description
Just the arduino and a mosfet.
Hardware Configuration
Microcontroller: ESP8266
Frequency: 80MHz
Flash: 4MB
RAM: 80KB
Version
other
IDE Name
Arduino IDE
Operating System
windows 11
Flash frequency
i don't know
PSRAM enabled
no
Upload speed
921600
Description
I couldn't find the WebServer library in the management, so I downloaded it and want to compile/upload, I got the 'No such file or directory' error.
Sketch
#include <WebServer.h>
WebServer monWebServeur(80);
void handleRoot() {
MYDEBUG_PRINTLN("-WEBSERVER : requete root");
String out = "";
out += "<html><head>";
out += "<title>TEST - PC Power</title>";
out += "<style>body { background-color: #cccccc; font-family: Arial, Helvetica, Sans-Serif; Color: #000088; }</style>";
out += "</head><body>";
out += "<h1>Hello World !!</h1><br>";
out += "</body></html>";
monWebServeur.send(200, "text/html", out);
}Debug Message
In file included from c:\Users\csiau\Documents\Arduino\libraries\WebServer\src/WebServer.h:30,
from C:\Users\csiau\Documents\arduino\powerCase\main\MyWebServer.h:32,
from C:\Users\csiau\Documents\arduino\powerCase\main\main.ino:3:
c:\Users\csiau\Documents\Arduino\libraries\WebServer\src/HTTP_Method.h:4:10: fatal error: http_parser.h: No such file or directory
4 | #include "http_parser.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Labels
Status: Awaiting triageIssue is waiting for triageIssue is waiting for triage