compile ESP ESAY MEGA tcp_impl.h not found
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
compile ESP ESAY MEGA tcp_impl.h not found
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
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.
-
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
Re: compile ESP ESAY MEGA tcm_impl.h not found
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

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: compile ESP ESAY MEGA tcm_impl.h not found
That's with lwip v2. Select v1.4 or Espressif in Arduino...
-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
Re: compile ESP ESAY MEGA tcm_impl.h not found
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.
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.
-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: compile ESP ESAY MEGA tcm_impl.h not found
With ESP8266 from the board manager (core 2.3) there should be V2, Espressiv and V1.4 selectable.
-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
Re: compile ESP ESAY MEGA tcm_impl.h not found
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
extracted lwip into library folder.
restarted Arduino
but still have the error file not found?
where does this library has to be?
Thanks
-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: compile ESP ESAY MEGA tcm_impl.h not found
Normally not. Only lwip->Espressiv is removed from core 2.4.0
-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
Re: compile ESP ESAY MEGA tcm_impl.h not found
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?
Have lib lwip in Arduino/library/lwip/tcp_impl.h
but is not found?
driving me crazy...
where should the library be?
-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: compile ESP ESAY MEGA tcm_impl.h not found
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!!
-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
Re: compile ESP ESAY MEGA tcm_impl.h not found
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')
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')
-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
Re: compile ESP ESAY MEGA tcm_impl.h not found
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?
^
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.
-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: compile ESP ESAY MEGA tcm_impl.h not found
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. 

-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
-
- Core team member
- Posts: 9905
- Joined: 01 Sep 2017, 22:13
- Location: the Netherlands
Re: compile ESP ESAY MEGA tcm_impl.h not found
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
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
-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
Re: compile ESP ESAY MEGA tcm_impl.h not found
HiTD-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
thanks all for your support, while try this.
-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
Re: compile ESP ESAY MEGA tcm_impl.h not found
Just to clarify: what settings do you have for library in Arduino?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
Pointing to sketchbook\libraries I assume. right?
Thanks T
-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
Re: compile ESP ESAY MEGA tcm_impl.h not found
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.....
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.....
-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: compile ESP ESAY MEGA tcm_impl.h not found
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! 

-
- Normal user
- Posts: 344
- Joined: 26 Dec 2017, 18:02
Re: compile ESP ESAY MEGA tcm_impl.h not found
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.
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.
-
- Normal user
- Posts: 241
- Joined: 21 Mar 2017, 17:35
Re: compile ESP ESAY MEGA tcp_impl.h not found
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. 

Who is online
Users browsing this forum: Ahrefs [Bot], Anthropic Claude Bot [bot], Perplexity.ai [bot] and 16 guests