Arduino compiling error

jason
Posts: 6
Joined: Sun Sep 23, 2018 8:56 am

Post

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.
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

Clean your env or reinstal Arduino IDE
SUPLA.... Nareszcie w domu.
jason
Posts: 6
Joined: Sun Sep 23, 2018 8:56 am

Post

Tried both in three separate computers, errors keep coming. Any other suggestion? IDE versions installed: 1.6.9 & 1.8.7
User avatar
pzygmunt
Posts: 20302
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Been thanked: 59 times

Post

Install the following libraries:
UIPEthernet
Ethernet
You do not have the required permissions to view the files attached to this post.
SUPLA.... Nareszcie w domu.
dyrdzik
Posts: 2
Joined: Fri Oct 12, 2018 8:05 am

Post

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.
selo
Posts: 9
Joined: Mon Mar 04, 2019 1:31 am

Post

dyrdzik 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.
Thanks

Return to “Help”