See the web page. Sloeber is an Arduino plug-in in the Eclipse IDE. It also supports third-party board packages (such as ESP8266) in the same manner as the Arduino IDE.
When I create a new project I have -
In Platform folder .../arduino/hardware/avr only
In Board - no esp boards.
Well...I added esp8266
Now I choose
LOLIN(WEMOS) D1 mini Lite
but buttons Next and Finish are disabled.
OK. I've created and compiled a project. Looks fantastic! Thank you so much.
When I include in a file
#include <ESP8266WiFi.h> #include <WiFiUdp.h>
I get - No such file or directory on ESP8266WiFi.h. WiFiUdp.h however is OK, found. Why?
Which Arduino board are you compiling for?
I choose D1 mini Lite
I see in Project Explorer - libraries - ESP8266Wifi - ESP8266WiFi.h
Well. I did Reattach libraries and now it's OK. But I have two includes of the same class
\Sloeber\arduinoPlugin\libraries\WiFi\1.2.7\src\WiFiUdp.h:27:7: error: redefinition of 'class WiFiUDP'
\Sloeber\arduinoPlugin\packages\esp8266\hardware\esp8266\3.0.1\libraries\ESP8266WiFi\src/WiFiUdp.h:32:7: note: previous definition of 'class WiFiUDP'
and then in every function
\Sloeber\arduinoPlugin\libraries\WiFi\1.2.7\src\WiFiUdp.cpp:35:22: error: class 'WiFiUDP' does not have any field named '_sock'
I found the problem. I included two libraries - WiFi and ESP8266WiFi - they conflicting each other. WiFi should be removed.
Now the build result
09:48:31 Build Finished. 0 errors, 0 warnings. (took 4m:42s.407ms)
But still it shows some errors
Should I be worried?