Compiling any of the examples provided with the arduino library yields the following error:
In file included from /Users/MB/Documents/Arduino/libraries/SuplaDevice/SuplaDevice.h:300:0,
from /Users/MB/Documents/Arduino/libraries/SuplaDevice/examples/SuplaEthernetShield/SuplaEthernetShield.ino:19:
/Users/MB/Documents/Arduino/libraries/SuplaDevice/supla_main_helper.cpp:70:3: error: 'UNKNOWN' does not name a type
UNKNOWN ETHERNET LIBRARY
^
exit status 1
Both Ethernet and uIP libraries are installed.
Arduino compiling error
Clean your env or reinstal Arduino IDE
Install the following libraries:
UIPEthernet
Ethernet
UIPEthernet
Ethernet
- Attachments
-
- eth.png (28.23 KiB) Viewed 11823 times
-
- uip.png (9.3 KiB) Viewed 11823 times
Hi!
I had the same problem and the solution is very easy. By default, when you install Arduino IDE, it comes with Ethernet library v 2.0.0. Just go to the libraries manager and change the version to 1.1.2 (the one mentioned by pzygmunt). As soon as you do that, you'll still receive some warnings, but the code will compile and it works on Arduino very well! Love SUPLA
M.
I had the same problem and the solution is very easy. By default, when you install Arduino IDE, it comes with Ethernet library v 2.0.0. Just go to the libraries manager and change the version to 1.1.2 (the one mentioned by pzygmunt). As soon as you do that, you'll still receive some warnings, but the code will compile and it works on Arduino very well! Love SUPLA
M.
Thanksdyrdzik wrote: ↑Fri Oct 12, 2018 8:11 am Hi!
I had the same problem and the solution is very easy. By default, when you install Arduino IDE, it comes with Ethernet library v 2.0.0. Just go to the libraries manager and change the version to 1.1.2 (the one mentioned by pzygmunt). As soon as you do that, you'll still receive some warnings, but the code will compile and it works on Arduino very well! Love SUPLA
M.