Error while uploading in energia using cc3200

In file included from C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/thinger/thinger.h:29:0,

             from C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h:29,

             from C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerWifi.h:27,

             from C:\Users\MADHAV~1\AppData\Local\Temp\arduino_modified_sketch_110738\EnergiaCC3200.ino:2:

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/thinger/thinger_resource.hpp:106:5: error: ‘function’ in namespace ‘std’ does not name a type

 std::function<void()> then_;

 ^

In file included from C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h:29:0,

             from C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerWifi.h:27,

             from C:\Users\MADHAV~1\AppData\Local\Temp\arduino_modified_sketch_110738\EnergiaCC3200.ino:2:

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/thinger/thinger.h: In member function ‘void thinger::thinger::handle_request_received(thinger::thinger_message&)’:

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/thinger/thinger.h:611:57: error: ‘class thinger::thinger_resource’ has no member named ‘then’

                                     thing_resource->then();

                                                     ^

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/thinger/thinger.h:624:37: error: ‘class thinger::thinger_resource’ has no member named ‘then’

                 thing_resource->then();

                                 ^

In file included from C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerWifi.h:27:0,

             from C:\Users\MADHAV~1\AppData\Local\Temp\arduino_modified_sketch_110738\EnergiaCC3200.ino:2:

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h: At global scope:

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h:535:34: error: ‘std::function’ has not been declared

 void set_state_listener(std::function<void(THINGER_STATE)> state_listener){

                              ^

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h:535:42: error: expected ‘,’ or ‘…’ before ‘<’ token

 void set_state_listener(std::function<void(THINGER_STATE)> state_listener){

                                      ^

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h:551:5: error: ‘function’ in namespace ‘std’ does not name a type

 std::function<void(THINGER_STATE)> state_listener_;

 ^

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h: In member function ‘virtual void ThingerClient::run_reboot()’:

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h:363:26: error: ‘NVIC_SystemReset’ was not declared in this scope

     NVIC_SystemReset();

                      ^

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h: In member function ‘virtual void ThingerClient::thinger_state_listener(ThingerClient::THINGER_STATE)’:

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h:425:12: error: ‘state_listener_’ was not declared in this scope

     if(state_listener_) state_listener_(state);

        ^

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h: In member function ‘void ThingerClient::set_state_listener(int)’:

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h:536:9: error: ‘state_listener_’ was not declared in this scope

     state_listener_ = state_listener;

     ^

C:\Users\Madhavapandian_10361\Documents\Energia\libraries\Arduino-Library-master\src/ThingerClient.h:536:27: error: ‘state_listener’ was not declared in this scope

     state_listener_ = state_listener;

                       ^

exit status 1
Error compiling for board CC3200-LAUNCHXL (80MHz).

Hi,

Try with 2.17.0 version library.

Hope this helps.