homieiot / homie-esp8266

💡 ESP8266 framework for Homie, a lightweight MQTT convention for the IoT
http://homieiot.github.io/homie-esp8266
MIT License
1.36k stars 308 forks source link

Update async-mqtt-client dependency version #358

Closed claybar closed 7 years ago

claybar commented 7 years ago

The dependency AsyncMqttClient is currently set to version 0.5.0 in library.json. Can it please be updated to 0.8.0 so platformio behaves.

TotallyInformation commented 7 years ago

Seems to be worse than that. Not only is release 0.5.0 no longer available to download (I'm using the Arduino IDE), trying to use v0.8.0 gives other errors:

n file included from C:\OD\arduino\sketches\libraries\async-mqtt-client-0.8.0\src/AsyncMqttClient.h:4:0,

                 from C:\OD\arduino\sketches\libraries\homie-esp8266-2.0.0-beta.1\src/Homie.hpp:5,

                 from C:\OD\arduino\sketches\libraries\homie-esp8266-2.0.0-beta.1\src/Homie.h:4,

                 from C:\OD\arduino\sketches\Homie2\Homie2.ino:1:

C:\OD\arduino\sketches\libraries\async-mqtt-client-0.8.0\src/AsyncMqttClient.hpp:8:25: fatal error: ESPAsyncTCP.h: No such file or directory

 #include <ESPAsyncTCP.h>

                         ^

compilation terminated.

Multiple libraries were found for "Homie.h"
 Used: C:\OD\arduino\sketches\libraries\homie-esp8266-2.0.0-beta.1
 Not used: C:\OD\arduino\sketches\libraries\homie-esp8266-1.5.0
exit status 1
marvinroger commented 7 years ago

Have you installed the ESPAsyncTCP library?

Le 17 juin 2017 4:39 PM, "Julian Knight" notifications@github.com a écrit :

Seems to be worse than that. Not only is release 0.5.0 no longer available to download (I'm using the Arduino IDE), trying to use v0.8.0 gives other errors:

n file included from C:\OD\arduino\sketches\libraries\async-mqtt-client-0.8.0\src/AsyncMqttClient.h:4:0,

             from C:\OD\arduino\sketches\libraries\homie-esp8266-2.0.0-beta.1\src/Homie.hpp:5,

             from C:\OD\arduino\sketches\libraries\homie-esp8266-2.0.0-beta.1\src/Homie.h:4,

             from C:\OD\arduino\sketches\Homie2\Homie2.ino:1:

C:\OD\arduino\sketches\libraries\async-mqtt-client-0.8.0\src/AsyncMqttClient.hpp:8:25: fatal error: ESPAsyncTCP.h: No such file or directory

include

                     ^

compilation terminated.

Multiple libraries were found for "Homie.h" Used: C:\OD\arduino\sketches\libraries\homie-esp8266-2.0.0-beta.1 Not used: C:\OD\arduino\sketches\libraries\homie-esp8266-1.5.0 exit status 1



—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/marvinroger/homie-esp8266/issues/358#issuecomment-309218999>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA8eNbb2chGHDsYJZPLswseFgYUNxWctks5sE-UzgaJpZM4N9MBa>
.
TotallyInformation commented 7 years ago

Urg! OK, missing dependency - thanks. Appears to be working now without any changes and with v0.8.0 as expected.

marvinroger commented 7 years ago

Fixed: https://github.com/marvinroger/homie-esp8266/commit/cd2fa9f88bbd9e2746901cf846e5894785663d79