I have been trying to get my arduino wifi shield to work with the due but I keep getting weird library path errors. I downloaded the 1.5.1r2 IDE but that did not have the the wifi library installed. So i added the library and I get this error when trying to run the network scan example code.
In file included from c:\users\felix\desktop\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 C:\Users\Felix\Documents\Arduino\libraries\WiFi\/utility/debug.h:13,
from C:\Users\Felix\Documents\Arduino\libraries\WiFi\WiFiClient.cpp:6:
c:\users\felix\desktop\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'
C:\Users\Felix\Documents\Arduino\libraries\WiFi\utility/socket.h:71: error: 'u_short' has a previous declaration as 'typedef uint16 u_short'
C:\Users\Felix\Documents\Arduino\libraries\WiFi\WiFiClient.cpp: In member function 'virtual int WiFiClient::read(uint8_t*, size_t)':
C:\Users\Felix\Documents\Arduino\libraries\WiFi\WiFiClient.cpp:107: error: no matching function for call to 'ServerDrv::getDataBuf(uint8_t&, uint8_t*&, size_t*)'
C:\Users\Felix\Documents\Arduino\libraries\WiFi\utility/server_drv.h:23: note: candidates are: static bool ServerDrv::getDataBuf(uint8_t, uint8_t*, uint16_t*)
If someone got their due to work with the wifi shield how did you set up the IDE?