You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i select arduino uno it compiles correctly....but on arduino due i get following errors:
In file included from c:\arduino-1.5.1r2\hardware\tools\g++arm_none_eabi\bin../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/stdio.h:46,
from d:\Documents\Arduino\libraries\WiFi/utility/debug.h:13,
from d:\Documents\Arduino\libraries\WiFi\WiFiClient.cpp:6:
c:\arduino-1.5.1r2\hardware\tools\g++arm_none_eabi\bin../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/sys/types.h:93: error: conflicting declaration 'typedef short unsigned int u_short'
d:\Documents\Arduino\libraries\WiFi\utility/socket.h:71: error: 'u_short' has a previous declaration as 'typedef uint16 u_short'
d:\Documents\Arduino\libraries\WiFi\WiFiClient.cpp: In member function 'virtual int WiFiClient::read(uint8_t, size_t)':
d:\Documents\Arduino\libraries\WiFi\WiFiClient.cpp:107: error: no matching function for call to 'ServerDrv::getDataBuf(uint8_t&, uint8_t&, size_t_)'
d:\Documents\Arduino\libraries\WiFi\utility/server_drv.h:23: note: candidates are: static bool ServerDrv::getDataBuf(uint8_t, uint8_t_, uint16_t*)
The text was updated successfully, but these errors were encountered:
the library was added only since IDE version 1.5.2 (relase date: 2013.02.06)
The porting of the library for the Arduino Due is already inside the IDE, so you don't need to add it to the sketchbook folder.
Please tell me if you succeed to compile with the latest version of the IDE.
when i select arduino uno it compiles correctly....but on arduino due i get following errors:
In file included from c:\arduino-1.5.1r2\hardware\tools\g++arm_none_eabi\bin../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/stdio.h:46,
from d:\Documents\Arduino\libraries\WiFi/utility/debug.h:13,
from d:\Documents\Arduino\libraries\WiFi\WiFiClient.cpp:6:
c:\arduino-1.5.1r2\hardware\tools\g++arm_none_eabi\bin../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/sys/types.h:93: error: conflicting declaration 'typedef short unsigned int u_short'
d:\Documents\Arduino\libraries\WiFi\utility/socket.h:71: error: 'u_short' has a previous declaration as 'typedef uint16 u_short'
d:\Documents\Arduino\libraries\WiFi\WiFiClient.cpp: In member function 'virtual int WiFiClient::read(uint8_t, size_t)':
d:\Documents\Arduino\libraries\WiFi\WiFiClient.cpp:107: error: no matching function for call to 'ServerDrv::getDataBuf(uint8_t&, uint8_t&, size_t_)'
d:\Documents\Arduino\libraries\WiFi\utility/server_drv.h:23: note: candidates are: static bool ServerDrv::getDataBuf(uint8_t, uint8_t_, uint16_t*)
The text was updated successfully, but these errors were encountered: