Errors in compiling sketches with Ethernet Shield DFROBOT based on W5200


I am using a DFROBOT Ethernet W5200 shield with UNO. I downloaded the library from: I installed it per the instructions in the README file.

After compilation, I got the following message several times:

libraries/\Ethernet\src\Ethernet.cpp: 'SPI_ETHERNET_SETTINGS' was not declared in this scope

I tried several ethernet sketches from the ethernet examples in the IDE and I got the same compilation errors. Can anybody help with this issue?

Thanks for any idea


That's a super outdated library. Try this one instead:

I downloaded the library you recommended. My sketch works perfect with this library, with no need to define the ethernet controller.

Thank you very much Pert