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

It does not compile #1

Open
digitalwm opened this issue May 24, 2019 · 1 comment
Open

It does not compile #1

digitalwm opened this issue May 24, 2019 · 1 comment
Labels
upstream bug Known bug in upstream library

Comments

@digitalwm
Copy link

Hi, I just pulled the complete repo and tried to build it.

It gets some weird errors in regards with the Ethernet Library.

In file included from .piolibdeps\Ethernet_ID872\src\EthernetClient.cpp:22:0: .piolibdeps\Ethernet_ID872\src\Ethernet.h:258:2: error: invalid abstract return type 'EthernetClient' EthernetClient available(); ^ .piolibdeps\Ethernet_ID872\src\Ethernet.h:214:7: note: because the following virtual functions are pure within 'EthernetClient': class EthernetClient : public Client { ^ In file included from C:\users\dan\.platformio\packages\framework-arduinoespressif32\cores\esp32/Arduino.h:157:0, from .piolibdeps\Ethernet_ID872\src\EthernetClient.cpp:21: C:\users\dan\.platformio\packages\framework-arduinoespressif32\cores\esp32/Client.h:31:17: note: virtual int Client::connect(IPAddress, uint16_t, int) virtual int connect(IPAddress ip, uint16_t port, int timeout) =0; ^ C:\users\dan\.platformio\packages\framework-arduinoespressif32\cores\esp32/Client.h:32:17: note: virtual int Client::connect(const char*, uint16_t, int) virtual int connect(const char *host, uint16_t port, int timeout) =0; ^ In file included from .piolibdeps\Ethernet_ID872\src\EthernetClient.cpp:22:0: .piolibdeps\Ethernet_ID872\src\Ethernet.h:259:2: error: invalid abstract return type 'EthernetClient' EthernetClient accept(); ^ In file included from .piolibdeps\Ethernet_ID872\src\EthernetServer.cpp:22:0: .piolibdeps\Ethernet_ID872\src\Ethernet.h:258:2: error: invalid abstract return type 'EthernetClient' EthernetClient available();

Any hints will be welcomed :)

Cheers o/

@PuceBaboon PuceBaboon pinned this issue May 24, 2019
@PuceBaboon
Copy link
Owner

Hi @digitalwm,

I just dropped the repository into a clean directory and tried to build it, with exactly the same failure.

It seems like this is a problem with the latest Espressif library, referenced in issue #2755 ...and it seems to be affecting quite a lot more than just the Ethernet library, so we should hopefully see a quick fix.

Thanks for the heads-up on this issue, Dan.

                                            -John-

@PuceBaboon PuceBaboon added the upstream bug Known bug in upstream library label May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream bug Known bug in upstream library
Projects
None yet
Development

No branches or pull requests

2 participants