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
-
jason
- Posts: 6
- Joined: Sun Sep 23, 2018 8:56 am
Tried both in three separate computers, errors keep coming. Any other suggestion? IDE versions installed: 1.6.9 & 1.8.7
-
dyrdzik
- Posts: 2
- Joined: Fri Oct 12, 2018 8:05 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.
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.
-
selo
- Posts: 9
- Joined: Mon Mar 04, 2019 1:31 am
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.
