Skip to content

Current Framework / Arduino core version does not support Webserver Hook Functions #683

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GustafDelport opened this issue Jun 18, 2021 · 3 comments

Comments

@GustafDelport
Copy link

getting a error when I try to connect to my local host saying that "#error Your current Framework / Arduino core version does not support Webserver Hook Functions"

@d-a-v
Copy link
Contributor

d-a-v commented Jun 18, 2021

You can either use another example not using webserver hook functions,
or use the latest esp8266 arduino core (v3.0.0) which has the extension.

edit @d-a-v ninja'd @Links2004 by 5 secs 😆

@Links2004
Copy link
Owner

the error you show looks like a compile error.
not sure how to interpret "connect to my local host" in this context.

if we talking about compile errors here then your ESP8266 arduino core is a old version and needs to be updated.

#ifndef WEBSERVER_HAS_HOOK
#error Your current Framework / Arduino core version does not support Webserver Hook Functions
#else
#error Your Hardware Platform does not support Webserver Hook Functions
#endif

https://github.com/esp8266/Arduino/blob/f4178e58dcfe32ec1f4b7d9cfb31e3ad5559327a/libraries/ESP8266WebServer/src/ESP8266WebServer.h#L53

@GustafDelport
Copy link
Author

Sorry I am really new to this I figured it out thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants