Cayenne-MQTT-ESP8266 compilation errors


#1

Hi,
I am trying to compile the following code,

for my ESP12E and keep getting lots of compile errors which include

\Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h: In instantiation of ‘static void CayenneArduinoMQTTClient::publishData(CayenneTopic, unsigned int, const T&, const char*, const char*) [with T = const __FlashStringHelper*; CayenneTopic = CayenneTopic]’:

Documents\Arduino\libraries\CayenneMQTT\src/CayenneArduinoMQTTClient.h:333:3: error: call of overloaded ‘add(const char*&, const __FlashStringHelper* const&)’ is ambiguous

values.add(subkey, data);

etc.

Any suggestions as to what can be done?

Thanks.


#2

Hello,
I would reinstall the library and check how much parameters try to send to the Dashboard.


#3

uninstall the main cayenne library so you just have the MQTT one if it still won’t compile.


#4

@uaak80 Did you try any solution? Is the error still persist ?