UPDATED!
I get this error when I compile … but only when I use an arduino UNO … what can it be?
There is a kind of error when using the library, in the ThingerClient.h file … it has happened to me since yesterday, it always worked well …
In file included from D:\Usuario\Documents\Arduino\libraries\thinger.io\src/ThingerEthernet.h:29:0,
from D:\Usuario\Documents\Arduino\libraries\thinger.io\examples\Arduino\ArduinoEthernet\ArduinoEthernet.ino:3:
D:\Usuario\Documents\Arduino\libraries\thinger.io\src/ThingerClient.h:540:34: error: 'std::function' has not been declared
void set_state_listener(std::function<void(THINGER_STATE)> state_listener){
^~~~~~~~
D:\Usuario\Documents\Arduino\libraries\thinger.io\src/ThingerClient.h:540:42: error: expected ',' or '...' before '<' token
void set_state_listener(std::function<void(THINGER_STATE)> state_listener){
^
D:\Usuario\Documents\Arduino\libraries\thinger.io\src/ThingerClient.h:557:10: error: 'function' in namespace 'std' does not name a template type
std::function<void(THINGER_STATE)> state_listener_;
^~~~~~~~