Comments (18)
This is still an issue for me. probonopd/WirelessPrinting#118
from espasyncwebserver.
@kuthullu just add this line into the of one file from src
folder
#include <Hash.h>
from espasyncwebserver.
that is platform.io's fault. the library is in the ESP core libs.
One fix is to add #include <Hash.h>
in AsyncWebSocket.h
from espasyncwebserver.
I searched the Lins directory and the generated libs for the project, the
file doesn't exist...
On Jun 18, 2016 08:17, "Me No Dev" [email protected] wrote:
that is platform.io's fault. the library is in the ESP core libs.
One fix is to add #include <Hash.h> in AsyncWebSocket.h—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#46 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AFxkuuOEpFBu0fVFd-5yFGMcfYrgMW6kks5qM9POgaJpZM4I47P3
.
from espasyncwebserver.
https://github.com/esp8266/Arduino/blob/master/libraries/Hash/src/Hash.h
from espasyncwebserver.
It isn't included by default, but explicitly including it on your main.cpp solves the problem... maybe this is worth a note on the docs ? Anyway, thanks for your time, you really helped me
from espasyncwebserver.
it should really be fixed on platform.io side :) it follows Arduino guidelines and should by all means work.
@ivankravets can maybe shed some light?
from espasyncwebserver.
A deep library search is turned off by default. We had it enabled before but a lot of users had the problems with it. The easy way is to include required library in the src
files. In this case, PlatformIO will understand that you really need this library, otherwise you can enable http://docs.platformio.org/en/latest/projectconf.html#lib-dfcyclic
from espasyncwebserver.
@ivankravets has to be in one of the headers, correct?
from espasyncwebserver.
can I make a header that will actually not be included in the build and define the required libs there?
from espasyncwebserver.
@me-no-dev no matter. In any place/ in any file (*.c
, *.cpp
, .h
, etc.)
from espasyncwebserver.
it is in the CPP file here
from espasyncwebserver.
@me-no-dev your code is fine. This is a behaviour of PlatformIO 2.0. We are working on the PlatformIO 3.0 where the Library Manager and Library Builder will be significantly refactored.
The one reason why deep finder is turned off is that current Library Builder doesn't handle #ifdef
and etc constructions.
Conclusion
- @me-no-dev you don't need to change your code.
- @kuthullu please include
#include <Hash.h>
library manually.
P.S: It should work without any changes with PlatformIO 3.0.
from espasyncwebserver.
In 3.2.1 it doesn't work. You have to include <Hash.h>
from espasyncwebserver.
@fab33 You can specify extra dependencies for a project using lib_deps option
lib_deps = Hash
from espasyncwebserver.
@me-no-dev do you have any info when new release of ESP8266 for Arduino will be issued?
from espasyncwebserver.
@ivankravets asking for 2.4.0? I would rather have it sooner than later, but it depends on Ivan's time and by the looks of it.... it will be maybe January. There are some goals that need to be covered by the end of the year.
from espasyncwebserver.
@me-no-dev Thanks! We will wait for that!
/cc @xoseperez
from espasyncwebserver.
Related Issues (20)
- fragmentation
- ESP8266 goin down when get JSON string. HOT 1
- where i can get request if i mast send JSON to all connected clients by timer ?! no good exapmles no information! HOT 2
- Serving SPIFFS from a subdirectory raises 500 status code on some files HOT 1
- error: cannot bind non-const lvalue reference of type 'ArduinoJson::V704PB2::JsonObject&' to an rvalue of type 'ArduinoJson::V704PB2::detail::enable_if<true, ArduinoJson::V704PB2::JsonObject>::type' {aka 'ArduinoJson::V704PB2::JsonObject'} HOT 1
- abracadabra in serial HOT 1
- after long time 8+ i have spam in serial
- AsyncWebServerRequest Questions HOT 2
- Send content with beginChunkedResponse
- Question: is it possible to replicate AsyncWebSocket with WebServer in arduino-esp32 v3.0.0 ? HOT 4
- AsyncWebServer Questions HOT 6
- Images won't load randomly
- Compiling issues HOT 7
- I Can't make the web explorer to offer to save credentials
- Change bool AsyncStaticWebHandler::canHandle to use exact match instead of String::startsWith(_uri)
- small ddos (press F5) crash: async_tcp ....watchdog got triggered
- Compilation Error for Newer ESP32 HOT 3
- possible memory leak at send_p?
- Forwarding Webserver with websockets
- Get new client ID at every refresh :( HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espasyncwebserver.