Page 1 of 1

Compile EspEasy with Arduino (Pro) IDE still possible?

Posted: 07 Jul 2020, 05:32
by moelski
Hi !

The last two days I spend some hours to get ESPEasy compiled in Arduino and Arduino Pro IDE. But I had no luck ...
So a simple question first ... Is it still possible to use those IDE's or can it only be done woth VSCode / PlatformIO?

My steps were as followed:
* Copy content from lib folder to the libraries folder.
* To be Arduino conform I placed the content of the src folder into a new folder called ESPEasy
* Install ESP8266 and ESP32 Cores (I used the latest available)
* Hit the compile button ...

But it ends in errors like this one:

Code: Select all

_P044_P1WifiGateway:43:13: error: expected constructor, destructor, or type conversion before ';' token
   P044_Task() {
             ^
And there are a lot more errors ...

So maybe someone can give some advice ...

Dominik

Re: Compile EspEasy with Arduino (Pro) IDE still possible?

Posted: 07 Jul 2020, 20:17
by TD-er
See the pending fix I have prepared to make it compile again in Arduino IDE: https://github.com/letscontrolit/ESPEasy/pull/3152
The reason I have not yet merged it, is that I got a report of nodes flashed with these fixes may behave badly. (no reboot on their own)

So please let me know if you also see strange behavior (half loading pages, freezing node) with these changes and compiled in Arduino IDE.

Re: Compile EspEasy with Arduino (Pro) IDE still possible?

Posted: 08 Jul 2020, 08:44
by moelski
Hi !

Ok I can compile it again if I use the latest GIT revision. Thx for that fix !

Get it compiled for the ESP32 seems to be a little more complicated :roll:
I had issues with MD5Builder, Servo Lib and BH1750 ...
But I think ESP32 is in general another story ;)
btw ... Got it compiled after some tweaking und plugin disabeling ...

regards
Dominik