Page 1 of 1
Compiling error
Posted: 23 May 2016, 18:16
by BertM
I tried to compile ESPeasy and I get the following error(s)
I have looked @ the wiki and searched the internet, but it seems to be an IDE problem.
Simple programs will load on the ESP..
Help is much appriciated
Bert
Re: Compiling error
Posted: 23 May 2016, 19:12
by tozett
which board version for esp do you use 2.0/2.1?
may downgrade ide to 1.6.5 ?
Re: Compiling error
Posted: 23 May 2016, 19:45
by BertM
tozett wrote:which board version for esp do you use 2.0/2.1?
may downgrade ide to 1.6.5 ?
Downloaded 1.6.5 and installed esp 2.0 as mentioned in the wiki
Now I get this:
Tried this without succes:
https://github.com/adamvr/arduino-base64
Re: Compiling error
Posted: 23 May 2016, 20:09
by nightshark
I am assuming you moved all of the library files like it says in the Wiki? I had a heck of a time compiling too. I finally uninstalled the Arduino IDE and used the standalone version so my libraries would get pulled correctly.
Re: Compiling error
Posted: 23 May 2016, 20:18
by BertM
nightshark wrote:I am assuming you moved all of the library files like it says in the Wiki? I had a heck of a time compiling too. I finally uninstalled the Arduino IDE and used the standalone version so my libraries would get pulled correctly.
Yes I complete uninstalled and installed 1.6.5 again, installed base64.. but still get errors
seems the libaries are not global??
what is the standalone version ? sorry NOOB
Re: Compiling error
Posted: 24 May 2016, 01:14
by costo
You should download the stable version R78 , the link is at the bottom of this page:
http://www.esp8266.nu/index.php/Main_Page
In the zipfile you will find the libraries you need.
After adding these libraries you can compile also the newer versions up to R107
Re: Compiling error
Posted: 24 May 2016, 04:44
by nightshark
BertM wrote:nightshark wrote:I am assuming you moved all of the library files like it says in the Wiki? I had a heck of a time compiling too. I finally uninstalled the Arduino IDE and used the standalone version so my libraries would get pulled correctly.
Yes I complete uninstalled and installed 1.6.5 again, installed base64.. but still get errors
seems the libaries are not global??
what is the standalone version ? sorry NOOB
I'm new to this myself! It's the big zip file. It says non admin install or just 'Windows' on the Arduino download page. This is assuming you are using Windows. Also try using esp 2.1 I think it's called.
Re: Compiling error
Posted: 25 May 2016, 17:05
by BertM
costo wrote:You should download the stable version R78 , the link is at the bottom of this page:
http://www.esp8266.nu/index.php/Main_Page
In the zipfile you will find the libraries you need.
After adding these libraries you can compile also the newer versions up to R107
@Costo
Version R78 compiles and uploads nicely, but the version from Github gives the above errors

Re: Compiling error
Posted: 25 May 2016, 21:25
by costo
BertM wrote:
Downloaded 1.6.5 and installed esp 2.0 as mentioned in the wiki
I guess you need to install ESP Core 2.1.0 when compiling latest ESPEasy from github
Re: Compiling error
Posted: 26 May 2016, 10:37
by tozett
Re: Compiling error
Posted: 26 May 2016, 12:53
by BertM
costo wrote:BertM wrote:
Downloaded 1.6.5 and installed esp 2.0 as mentioned in the wiki
I guess you need to install ESP Core 2.1.0 when compiling latest ESPEasy from github
I think you are right: Got even errors with my old sketches, I spent Yesterday evening removing and installing the IDE again and it seenms something was corrupt in the ESP core
Will give it an try again this evening.
Edit:
After a new install of the IDE and ESP Core 2.1.0 the program compiled without one problem.
Thanks for the help!
Re: Compiling error
Posted: 19 Jul 2016, 16:30
by manjh
In order to test the new OTGW print, I need to install the latest version of ESPEasy (I have used the flash 78 until now).
So I downloaded from GIT, unzipped and renamed the folder to ESPEasy, and tried to compile.
Got an error message:
ESPEasy.ino:222:22: fatal error: base64.h: No such file or directory
compilation terminated.
Error compiling.
Using Arduino compiler 1.6.5.
What am I doing wrong?
Re: Compiling error
Posted: 19 Jul 2016, 18:00
by Martinus
manjh wrote:In order to test the new OTGW print, I need to install the latest version of ESPEasy (I have used the flash 78 until now).
So I downloaded from GIT, unzipped and renamed the folder to ESPEasy, and tried to compile.
Got an error message:
ESPEasy.ino:222:22: fatal error: base64.h: No such file or directory
compilation terminated.
Error compiling.
Using Arduino compiler 1.6.5.
What am I doing wrong?
You have to change to Arduino ESP core 2.1.0.
Maybe we should update the wiki on this...
Re: Compiling error
Posted: 19 Jul 2016, 18:15
by manjh
Martinus wrote:manjh wrote:In order to test the new OTGW print, I need to install the latest version of ESPEasy (I have used the flash 78 until now).
So I downloaded from GIT, unzipped and renamed the folder to ESPEasy, and tried to compile.
Got an error message:
ESPEasy.ino:222:22: fatal error: base64.h: No such file or directory
compilation terminated.
Error compiling.
Using Arduino compiler 1.6.5.
What am I doing wrong?
You have to change to Arduino ESP core 2.1.0.
Maybe we should update the wiki on this...
Hmmm... I am thinking of this for two types of users:
1. the ones that simply want to flash the software into the MCU units
2, hard core developers that want to make changes to the source code
The second category will probably have no problem setting up the compiler etcetera.
The first category is better off with the bin files, that can be flashed into the hardware.
The role I am playing at this moment (tester) is in the first category... so I am looking for a bin file for R110 or higher. The OTGW manual prescribes it.
Can you help me get that?
Re: Compiling error
Posted: 19 Jul 2016, 18:22
by Martinus
Re: Compiling error
Posted: 19 Jul 2016, 18:25
by manjh
Great, thanks!

Re: Compiling error
Posted: 21 Jul 2016, 14:05
by DrEmil
I was having the same trouble compiling and tried all the recs on this thread. What finally worked perfectly was to just download the stable image (now at v108), extract, then compile directly from the source (and libraries) included in that image. Worked perfectly the first time on Arduino 1.6.5 (installer) and ESP 2.1.
Hope this helps,
Eric