Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Wrong Lib? #6

@Werner-G

Description

@Werner-G

when compiling simple examples from this repro like blinker.ino, I always get this error message:

C:\Users\WG.W2K\Documents\Arduino\libraries\TreeLight-baseTopic\src\TreeLight.cpp: In member function 'void TreeLightClass::_printBuffer()':

C:\Users\WG.W2K\Documents\Arduino\libraries\TreeLight-baseTopic\src\TreeLight.cpp:341:32: error: no matching function for call to 'TreeLightClass::clearQueue(std::queue<unsigned char>&)'

       clearQueue(_messageBuffer);

                                ^

C:\Users\WG.W2K\Documents\Arduino\libraries\TreeLight-baseTopic\src\TreeLight.cpp:341:32: note: candidate is:

In file included from C:\Users\WG.W2K\Documents\Arduino\libraries\async-mqtt-client-master\src/AsyncMqttClient.h:4:0,

                 from C:\Users\WG.W2K\Documents\Arduino\libraries\TreeLight-baseTopic\src\TreeLight.h:56,

                 from C:\Users\WG.W2K\Documents\Arduino\libraries\TreeLight-baseTopic\src\TreeLight.cpp:26:

C:\Users\WG.W2K\Documents\Arduino\libraries\async-mqtt-client-master\src/AsyncMqttClient.hpp:84:8: note: bool AsyncMqttClient::clearQueue()

   bool clearQueue();  // Not MQTT compliant!

        ^

C:\Users\WG.W2K\Documents\Arduino\libraries\async-mqtt-client-master\src/AsyncMqttClient.hpp:84:8: note:   candidate expects 0 arguments, 1 provided

exit status 1

Fehler beim Kompilieren für das Board LOLIN(WEMOS) D1 R2 & mini.

I tried several different libs. The most important one seems to be the 'AsyncMqttClient' from Marvin Roger. But I have always the same error. Is there anybody who could give me a hint how to go further? Without a working Treelight I cannot compile the esp8266-heating-sketch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions