i have tried running the example through arduino IDE 1.6.11. keep getting the following error messages when verifying the included example
Arduino: 1.6.11 (Mac OS X), Board: “Arduino/Genuino 101”
In file included from /Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:32:0,
from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFiClient.h:28:7: error: redefinition of ‘class WiFiClient’
class WiFiClient : public Client {
^
In file included from /Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:31:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFiClient.h:27:7: error: previous definition of ‘class WiFiClient’
class WiFiClient : public Client {
^
In file included from /Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:34:0,
from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFiServer.h:28:7: error: redefinition of ‘class WiFiServer’
class WiFiServer : public Server {
^
In file included from /Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:32:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFiServer.h:31:7: error: previous definition of ‘class WiFiServer’
class WiFiServer : public Server {
^
In file included from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:37:17: error: redeclaration of ‘WL_NO_SHIELD’
WL_NO_SHIELD = 255,
^
In file included from /Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:26:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/utility/wl_definitions.h:51:2: note: previous declaration ‘wl_status_t WL_NO_SHIELD’
WL_NO_SHIELD = 255,
^
In file included from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:38:19: error: redeclaration of ‘WL_IDLE_STATUS’
WL_IDLE_STATUS = 0,
^
In file included from /Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:26:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/utility/wl_definitions.h:52:9: note: previous declaration ‘wl_status_t WL_IDLE_STATUS’
WL_IDLE_STATUS = 0,
^
In file included from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:39:2: error: redeclaration of ‘WL_NO_SSID_AVAIL’
WL_NO_SSID_AVAIL,
^
In file included from /Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:26:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/utility/wl_definitions.h:53:9: note: previous declaration ‘wl_status_t WL_NO_SSID_AVAIL’
WL_NO_SSID_AVAIL,
^
In file included from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:40:2: error: redeclaration of ‘WL_SCAN_COMPLETED’
WL_SCAN_COMPLETED,
^
In file included from /Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:26:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/utility/wl_definitions.h:54:9: note: previous declaration ‘wl_status_t WL_SCAN_COMPLETED’
WL_SCAN_COMPLETED,
^
In file included from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:41:2: error: redeclaration of ‘WL_CONNECTED’
WL_CONNECTED,
^
In file included from /Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:26:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/utility/wl_definitions.h:55:9: note: previous declaration ‘wl_status_t WL_CONNECTED’
WL_CONNECTED,
^
In file included from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:42:2: error: redeclaration of ‘WL_CONNECT_FAILED’
WL_CONNECT_FAILED,
^
In file included from /Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:26:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/utility/wl_definitions.h:56:9: note: previous declaration ‘wl_status_t WL_CONNECT_FAILED’
WL_CONNECT_FAILED,
^
In file included from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:43:2: error: redeclaration of ‘WL_CONNECTION_LOST’
WL_CONNECTION_LOST,
^
In file included from /Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:26:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/utility/wl_definitions.h:57:9: note: previous declaration ‘wl_status_t WL_CONNECTION_LOST’
WL_CONNECTION_LOST,
^
In file included from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:44:2: error: redeclaration of ‘WL_DISCONNECTED’
WL_DISCONNECTED
^
In file included from /Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:26:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/utility/wl_definitions.h:58:9: note: previous declaration ‘wl_status_t WL_DISCONNECTED’
WL_DISCONNECTED
^
In file included from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:45:3: error: conflicting declaration ‘typedef enum wl_status_t wl_status_t’
} wl_status_t;
^
In file included from /Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:26:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/utility/wl_definitions.h:59:3: error: ‘wl_status_t’ has a previous declaration as ‘typedef enum wl_status_t wl_status_t’
} wl_status_t;
^
In file included from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:48:6: error: multiple definition of ‘enum wl_enc_type’
enum wl_enc_type { /* Values map to 802.11 encryption suites… /
^
In file included from /Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:26:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/utility/wl_definitions.h:62:6: error: previous definition here
enum wl_enc_type { / Values map to 802.11 encryption suites… /
^
In file included from /Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:32:0,
from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:
/Users/descobar/Documents/Arduino/libraries/WiFi101/src/WiFi101.h:64:7: error: redefinition of ‘class WiFiClass’
class WiFiClass
^
In file included from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:3:0:
/Users/descobar/Desktop/Arduino 2.app/Contents/Java/libraries/WiFi/src/WiFi.h:34:7: error: previous definition of ‘class WiFiClass’
class WiFiClass
^
In file included from /Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:5:0:
/Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:58:23: error: ‘dot_t’ has not been declared
void getValueInfo(dot_t dot); // Function added by Dr. Juergen Leib
^
/Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:35:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
#define SERVER “things.ubidots.com”
^
/Users/descobar/Documents/Arduino/libraries/ubidots-arduino-wifi/UbidotsArduino.h:55:41: note: in expansion of macro ‘SERVER’
Ubidots(char* token, char* server = SERVER);
^
/Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:16:21: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Ubidots client(TOKEN);
^
/Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:16:21: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
/Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino: In function ‘void loop()’:
/Users/descobar/Documents/Arduino/sketch_sep06a/sketch_sep06a.ino:50:29: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
client.add(ID, value);
^
exit status 1
Error compiling for board Arduino/Genuino 101.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.