Compiling error

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
BertM
New user
Posts: 7
Joined: 22 May 2016, 13:54
Location: NL
Contact:

Compiling error

#1 Post by BertM » 23 May 2016, 18:16

I tried to compile ESPeasy and I get the following error(s)

Image

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

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Compiling error

#2 Post by tozett » 23 May 2016, 19:12

which board version for esp do you use 2.0/2.1?
may downgrade ide to 1.6.5 ?

BertM
New user
Posts: 7
Joined: 22 May 2016, 13:54
Location: NL
Contact:

Re: Compiling error

#3 Post by BertM » 23 May 2016, 19:45

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:
Image

Tried this without succes:
https://github.com/adamvr/arduino-base64

nightshark
Normal user
Posts: 25
Joined: 29 Apr 2016, 06:54

Re: Compiling error

#4 Post by nightshark » 23 May 2016, 20:09

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.

BertM
New user
Posts: 7
Joined: 22 May 2016, 13:54
Location: NL
Contact:

Re: Compiling error

#5 Post by BertM » 23 May 2016, 20:18

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
Image

seems the libaries are not global??

what is the standalone version ? sorry NOOB

User avatar
costo
Normal user
Posts: 504
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: Compiling error

#6 Post by costo » 24 May 2016, 01:14

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

nightshark
Normal user
Posts: 25
Joined: 29 Apr 2016, 06:54

Re: Compiling error

#7 Post by nightshark » 24 May 2016, 04:44

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
Image

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.

BertM
New user
Posts: 7
Joined: 22 May 2016, 13:54
Location: NL
Contact:

Re: Compiling error

#8 Post by BertM » 25 May 2016, 17:05

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 :roll:

User avatar
costo
Normal user
Posts: 504
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: Compiling error

#9 Post by costo » 25 May 2016, 21:25

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

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Compiling error

#10 Post by tozett » 26 May 2016, 10:37

also reports for succes with core 2.2

http://www.esp8266.nu/forum/viewtopic.p ... .1.0#p6783

BertM
New user
Posts: 7
Joined: 22 May 2016, 13:54
Location: NL
Contact:

Re: Compiling error

#11 Post by BertM » 26 May 2016, 12:53

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!

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: Compiling error

#12 Post by manjh » 19 Jul 2016, 16:30

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?

Martinus

Re: Compiling error

#13 Post by Martinus » 19 Jul 2016, 18:00

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

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: Compiling error

#14 Post by manjh » 19 Jul 2016, 18:15

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?


manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: Compiling error

#16 Post by manjh » 19 Jul 2016, 18:25

Great, thanks! :)

DrEmil
New user
Posts: 1
Joined: 04 May 2016, 13:38

Re: Compiling error

#17 Post by DrEmil » 21 Jul 2016, 14:05

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

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests