Closed paysan18 closed 3 years ago
Hello, The library compile for me with a D1 Mini. Please give me more details about the error message.
Hello Plapointe, this is all I got. I’m running the Arduino 1.8.13 on a Debian OS on a Raspberry-PI4. The Wemos is connected to the PI4 via a USB cable. When I leave out the #include EspMQTTclient.h there is no problem and the code is uploaded to the Wemos and runs.
Patrick, after some further testing I found that all of the various ESP boards are giving this error. Again, this is on a Debian Buster version running on a PI4. IDE 1.8.13.
Groeten, Wim
Op 23 feb. 2021 om 21:29 heeft Patrick Lapointe notifications@github.com het volgende geschreven:
Hello, The library compile for me with a D1 Mini. Please give me more details about the error message.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I'm also seeing an error when compiling for ESP-01 when compiling SimpleMQTTClient.ino:
/home/USER/Arduino/libraries/EspMQTTClient/src/EspMQTTClient.cpp: In member function 'void EspMQTTClient::onWiFiConnectionLost()':
/home/USER/Arduino/libraries/EspMQTTClient/src/EspMQTTClient.cpp:358:10: error: 'class MDNSResponder' has no member named 'end'
MDNS.end();
^
exit status 1
Error compiling for board Generic ESP8266 Module.
So I’m glad that I’m not the only one.
Groeten, Wim
Op 24 feb. 2021 om 09:38 heeft pauled23 notifications@github.com het volgende geschreven:
I'm also seeing an error when compiling for ESP-01 when compiling SimpleMQTTClient.ino:
/home/USERArduino/libraries/EspMQTTClient/src/EspMQTTClient.cpp: In member function 'void EspMQTTClient::onWiFiConnectionLost()': /home/USER/Arduino/libraries/EspMQTTClient/src/EspMQTTClient.cpp:358:10: error: 'class MDNSResponder' has no member named 'end' MDNS.end(); ^ exit status 1 Error compiling for board Generic ESP8266 Module. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
It's quite odd, I am not able to reproduce this issue on my side.
Can you reply with the version of the esp8266 core you use ?
A quick workaround for now could be to open EspMQTTClient.cpp
and comment line no. 358 MDNS.end();
Patrick, I replaced my EsppMQTTClient set and the PuSuBClient with a set from a friend of mine. On his system there is no problem. He is also running the Arduino 1.8.13 version IDE. We both run it on a Raspberry PI.
Groeten, Wim
Op 24 feb. 2021 om 17:23 heeft Patrick Lapointe notifications@github.com het volgende geschreven:
It's quite odd, I am not able to reproduce this issue on my side.
Can you reply with the version of the esp8266 core you use ?
A quick workaround for now could be to open EspMQTTClient.cpp and comment line no. 358 MDNS.end();
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Problem solved. Cause of the problem was pubsubclient was not found. It was located local. After moving it to the Arduino/libraries/ problem was gone.
Great 👍
I try to use the EspMQTTclient library on a Wemos D1 mini. Got the message: Error compiling for board LOLIN(WEMOS) D1 & mini.
Can this problem get fixed please?