compile ESP ESAY MEGA tcp_impl.h not found

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

compile ESP ESAY MEGA tcp_impl.h not found

#1 Post by riker1 » 12 Jan 2018, 14:28

Hi
treid to compile esp easy.

pulled sources from github

but always have the error

lwip/tcp_imp.h not flund, even I copied it manualy into source folder

What am I doing wrong?

Thanks T
Last edited by riker1 on 14 Jan 2018, 09:06, edited 1 time in total.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: compile ESP ESAY MEGA tcm_impl.h not found

#2 Post by grovkillen » 12 Jan 2018, 15:13

Do you plan to code something yourself or add something? If not you have the nightly builds..
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: compile ESP ESAY MEGA tcm_impl.h not found

#3 Post by vader » 12 Jan 2018, 15:13

That's with lwip v2. Select v1.4 or Espressif in Arduino...

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: compile ESP ESAY MEGA tcm_impl.h not found

#4 Post by riker1 » 12 Jan 2018, 15:49

ok thanks, will check the library

btw: it is not included in the lib folder in src.

Just wanted to change the number of LEDs in Candle.

This is fix coded.

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: compile ESP ESAY MEGA tcm_impl.h not found

#5 Post by riker1 » 12 Jan 2018, 16:07

vader wrote: 12 Jan 2018, 15:13 That's with lwip v2. Select v1.4 or Espressif in Arduino...
HHi,

in Arduino IDE there is only V2 and V2.0.3 available not 1.4

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: compile ESP ESAY MEGA tcm_impl.h not found

#6 Post by vader » 12 Jan 2018, 16:15

With ESP8266 from the board manager (core 2.3) there should be V2, Espressiv and V1.4 selectable.

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: compile ESP ESAY MEGA tcm_impl.h not found

#7 Post by riker1 » 12 Jan 2018, 16:17

No I found one 1.4.1 esp-lwip
extracted lwip into library folder.
restarted Arduino
but still have the error file not found?

where does this library has to be?

Thanks

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: compile ESP ESAY MEGA tcm_impl.h not found

#8 Post by riker1 » 12 Jan 2018, 16:17

vader wrote: 12 Jan 2018, 16:15 With ESP8266 from the board manager (core 2.3) there should be V2, Espressiv and V1.4 selectable.
maybe I am on core 2.4.0. already. is this a problem?

and I not not find a Espressiv library?

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: compile ESP ESAY MEGA tcm_impl.h not found

#9 Post by vader » 12 Jan 2018, 16:20

Normally not. Only lwip->Espressiv is removed from core 2.4.0

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: compile ESP ESAY MEGA tcm_impl.h not found

#10 Post by riker1 » 12 Jan 2018, 16:26

but still I have the problem

Have lib lwip in Arduino/library/lwip/tcp_impl.h

but is not found?

driving me crazy...

where should the library be?

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: compile ESP ESAY MEGA tcm_impl.h not found

#11 Post by vader » 12 Jan 2018, 16:31

Sounds like you are compiling with lwip v2. In Arduino you can select the lwip variant under Tools. V2 is default now with core 2.4!!

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: compile ESP ESAY MEGA tcm_impl.h not found

#12 Post by riker1 » 12 Jan 2018, 17:18

updated Board to 2.4.0.rc2
error disappeard,


but new once appeard.

WARNING: Category 'LED' in library CHT16K33 LED Matrix Library is not valid. Setting to 'Uncategorized'
WARNING: Category 'Input' in library MechInputs is not valid. Setting to 'Uncategorized'
WARNING: Category 'Input' in library SerialSensors is not valid. Setting to 'Uncategorized'


/ArduinoJson/Polyfills/./ctype.hpp:10:21: error: expected unqualified-id before 'char'
inline bool isdigit(char c) {
^
/ESPEasy/Misc.ino:2809:21: note: in definition of macro 'isdigit'
#define isdigit(n) (n >= '0' && n <= '9')
^
.../Arduino/libraries/ArduinoJson/src/ArduinoJson/Polyfills/./ctype.hpp:10:21: error: expected ')' before 'char'
inline bool isdigit(char c) {
^
/ESPEasy/Misc.ino:2809:21: note: in definition of macro 'isdigit'
#define isdigit(n) (n >= '0' && n <= '9')

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: compile ESP ESAY MEGA tcm_impl.h not found

#13 Post by riker1 » 12 Jan 2018, 17:41

think I will better downgrad to board 2.3.0...

does not help:

same issues:

WARNUNG: Kategorie 'LED' in der Bibliothek CHT16K33 LED Matrix Library ist ungültig und wird auf 'Uncategorized' festgelegt
WARNUNG: Kategorie 'Input' in der Bibliothek MechInputs ist ungültig und wird auf 'Uncategorized' festgelegt
WARNUNG: Kategorie 'Input' in der Bibliothek SerialSensors ist ungültig und wird auf 'Uncategorized' festgelegt
...\Arduino\libraries\ArduinoJson\src/ArduinoJson/Polyfills/./ctype.hpp:10:21: error: expected unqualified-id before 'char'

inline bool isdigit(char c) {

^

...\ESPEasy\Misc.ino:2809:21: note: in definition of macro 'isdigit'

#define isdigit(n) (n >= '0' && n <= '9')

^

...\Arduino\libraries\ArduinoJson\src/ArduinoJson/Polyfills/./ctype.hpp:10:21: error: expected ')' before 'char'

inline bool isdigit(char c) {

^
....\ESPEasy\Misc.ino:2809:21: note: in definition of macro 'isdigit'

#define isdigit(n) (n >= '0' && n <= '9')


maybe any hints for me?


^
Last edited by riker1 on 12 Jan 2018, 17:56, edited 1 time in total.

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: compile ESP ESAY MEGA tcm_impl.h not found

#14 Post by vader » 12 Jan 2018, 17:46

2.3.0 seems to be stable. I compile with 2.4.0+ with no errors. So there must be something wrong in your config. :?

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: compile ESP ESAY MEGA tcm_impl.h not found

#15 Post by riker1 » 12 Jan 2018, 17:57

vader wrote: 12 Jan 2018, 17:46 2.3.0 seems to be stable. I compile with 2.4.0+ with no errors. So there must be something wrong in your config. :?
ok .

thanks for your support.

will probalbly have to reinstall everything....

TD-er
Core team member
Posts: 8738
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: compile ESP ESAY MEGA tcm_impl.h not found

#16 Post by TD-er » 12 Jan 2018, 20:38

If you are trying to build ESPeasy from the Arduino IDE (My advice: don't torture yourself, don't do it), you have to copy everything from the Github into a directory called "ESPEasy" (case sensitive)

Thus:
ESPEasy with all the files from src directly in there
ESPEasy\lib with all the files from the lib dir taken from the Github download.

Here is my library directory taken from my sketchbook directory: https://www.dropbox.com/s/zt9ze3n0za67t ... y.rar?dl=0

I use a "portable" install of Arduino, but you may have to look for your own sketchbook directory and extract the files in the RAR file (including the "library" directory) into that sketchbook dir.
So then you have
sketchbook\libraries
sketchbook\ESPEasy
sketchbook\ESPEasy\lib

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: compile ESP ESAY MEGA tcm_impl.h not found

#17 Post by riker1 » 13 Jan 2018, 08:41

TD-er wrote: 12 Jan 2018, 20:38 If you are trying to build ESPeasy from the Arduino IDE (My advice: don't torture yourself, don't do it), you have to copy everything from the Github into a directory called "ESPEasy" (case sensitive)

Thus:
ESPEasy with all the files from src directly in there
ESPEasy\lib with all the files from the lib dir taken from the Github download.

Here is my library directory taken from my sketchbook directory: https://www.dropbox.com/s/zt9ze3n0za67t ... y.rar?dl=0

I use a "portable" install of Arduino, but you may have to look for your own sketchbook directory and extract the files in the RAR file (including the "library" directory) into that sketchbook dir.
So then you have
sketchbook\libraries
sketchbook\ESPEasy
sketchbook\ESPEasy\lib
Hi

thanks all for your support, while try this.

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: compile ESP ESAY MEGA tcm_impl.h not found

#18 Post by riker1 » 13 Jan 2018, 09:34

TD-er wrote: 12 Jan 2018, 20:38 I use a "portable" install of Arduino, but you may have to look for your own sketchbook directory and extract the files in the RAR file (including the "library" directory) into that sketchbook dir.
So then you have
sketchbook\libraries
sketchbook\ESPEasy
sketchbook\ESPEasy\lib
Just to clarify: what settings do you have for library in Arduino?
Pointing to sketchbook\libraries I assume. right?

Thanks T

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: compile ESP ESAY MEGA tcm_impl.h not found

#19 Post by riker1 » 13 Jan 2018, 09:53

you where right, it is a torture
always strange new errors showing up



n file included from C:\Users\xxx\Documents\Arduino\libraries\SD\src/utility/Sd2Card.h:26:0,

from C:\Users\xxx\Documents\Arduino\libraries\SD\src/utility/SdFat.h:29,

from C:\Users\xxx\Documents\Arduino\libraries\SD\src/SD.h:20,

\ESPEasy\ESPEasy.ino:315:

...\Documents\Arduino\libraries\SD\src/utility/Sd2PinMap.h:510:2: error: #error Architecture or board not supported.

#error Architecture or board not supported.

giving up.....

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: compile ESP ESAY MEGA tcm_impl.h not found

#20 Post by vader » 13 Jan 2018, 12:50

I don't know what the problem is? You go in Arduino to "Tools -> Board -> Board Manager" enter "8266" in the search field and select "ESP8266 community version" and install the core you want. Done! :mrgreen:

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: compile ESP ESAY MEGA tcm_impl.h not found

#21 Post by riker1 » 13 Jan 2018, 13:43

I have the board installed.

I pulled current whole version from github

- first:
this is not compiling on 2.4.0 only 2.3.0
event stated in code:
#include "core_version.h"
#ifndef ARDUINO_ESP8266_RELEASE_2_3_0
#error ESPEasy v2.0 only support Arduino core 2.3.0. (Use the ESPEasy development branch to fix this)
#endif



- when I did it on 2.3.0
and did a total new portable install.: error show up:

_P016_IR:9: error: 'IRrecv' does not name a type

IRrecv *irReceiver;

^

_P016_IR:10: error: 'decode_results' does not name a type

decode_results results;



Maybe the question is:

which source to take?
I also tried latest mega 20180112 and 13...but running into errors.

I choose the option: normal build.

which source are you using?

Thanks again for supporting me.

User avatar
vader
Normal user
Posts: 241
Joined: 21 Mar 2017, 17:35

Re: compile ESP ESAY MEGA tcp_impl.h not found

#22 Post by vader » 16 Jan 2018, 11:57

Hint: Just delete all _P***.ino files in the src folder you are NOT using. That helps also sometimes to fix compiling issues and reduces the size of the sketch file. ;)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 31 guests