Skip to content
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

Compilation error with latest esphome 2021.10.0 #20

Closed
newlund opened this issue Oct 21, 2021 · 4 comments
Closed

Compilation error with latest esphome 2021.10.0 #20

newlund opened this issue Oct 21, 2021 · 4 comments

Comments

@newlund
Copy link

newlund commented Oct 21, 2021

In file included from src/main.cpp:52:0:
src/p1reader.h: In member function 'void P1Reader::readP1Message()':
src/p1reader.h:261:58: error: 'readBytesUntil' was not declared in this scope
int len = readBytesUntil('\n', buffer, BUF_SIZE);
^
Compiling /data/energy/.pioenvs/energy/lib67b/ESP8266WiFi/CertStoreBearSSL.cpp.o
*** [/data/energy/.pioenvs/energy/src/main.cpp.o] Error 1
========================= [FAILED] Took 24.46 seconds =========================

@pp-svanstrom
Copy link

I'm on it, just realised it myself :) Fix will be up shortly 👍

@psvanstrom
Copy link
Owner

Fixed in #21

@newlund
Copy link
Author

newlund commented Oct 21, 2021

Wow! That was fast! :)
Working fine now. Thanks! 👍

@psvanstrom
Copy link
Owner

They just released 2021.10.1 which now failed to compile with one of the changes I had to do for version 2021.10.0 🙄 I guess it was something that wasn't supposed to go out.

Anyway, I've merged a new version that now works for version 2021.10.1.

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