Hello
I am trying to install Cayenne on my arduino with my w5100 Ethernet Shield
The problem is that i can’t compile the code from the example
Can anybody help me?
The Error is:
Arduino: 1.6.9 (Windows 10), Board: “Arduino/Genuino Uno”
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\Ethernet.cpp: In member function ‘void EthernetClass::begin(uint8_t*, IPAddress, IPAddress, IPAddress, IPAddress)’:
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\Ethernet.cpp:65:39: error: no matching function for call to ‘W5100Class::setIPAddress(IPAddress::&)’
W5100.setIPAddress(local_ip._address);
^
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\Ethernet.cpp:65:39: note: candidate is:
In file included from C:\Users\Dell\Documents\Arduino\libraries\Ethernet\Ethernet.cpp:1:0:
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\utility/w5100.h:392:6: note: void W5100Class::setIPAddress(uint8_t*)
void W5100Class::setIPAddress(uint8_t *_addr) {
^
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\utility/w5100.h:392:6: note: no known conversion for argument 1 from ‘IPAddress::’ to ‘uint8_t* {aka unsigned char*}’
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\Ethernet.cpp:66:38: error: no matching function for call to ‘W5100Class::setGatewayIp(IPAddress::&)’
W5100.setGatewayIp(gateway._address);
^
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\Ethernet.cpp:66:38: note: candidate is:
In file included from C:\Users\Dell\Documents\Arduino\libraries\Ethernet\Ethernet.cpp:1:0:
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\utility/w5100.h:368:6: note: void W5100Class::setGatewayIp(uint8_t*)
void W5100Class::setGatewayIp(uint8_t *_addr) {
^
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\utility/w5100.h:368:6: note: no known conversion for argument 1 from ‘IPAddress::’ to ‘uint8_t* {aka unsigned char*}’
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\Ethernet.cpp:67:38: error: no matching function for call to ‘W5100Class::setSubnetMask(IPAddress::&)’
W5100.setSubnetMask(subnet._address);
^
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\Ethernet.cpp:67:38: note: candidate is:
In file included from C:\Users\Dell\Documents\Arduino\libraries\Ethernet\Ethernet.cpp:1:0:
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\utility/w5100.h:376:6: note: void W5100Class::setSubnetMask(uint8_t*)
void W5100Class::setSubnetMask(uint8_t *_addr) {
^
C:\Users\Dell\Documents\Arduino\libraries\Ethernet\utility/w5100.h:376:6: note: no known conversion for argument 1 from ‘IPAddress::’ to ‘uint8_t* {aka unsigned char*}’
Multiple libraries were found for “Ethernet.h”
Used: C:\Users\Dell\Documents\Arduino\libraries\Ethernet
Not used: C:\Program Files (x86)\Arduino\libraries\Ethernet
exit status 1
Error compiling for board Arduino/Genuino Uno.
This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.