-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in compiling #1
Comments
If you Switch Back to the original lwip, does it work? |
No, |
Okay, the second error is "normal", as the lwip_napt.h is not part of the standard liblwip. Please check the following:
|
when I try to upload example "HelloServer" with lwip variant "V2 Lower Memory (no features)" its work Must to say that I didn't find the exact directory of ".../packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/" |
Path is okay. Problem is, that you are compiling on Windows and your environment doesn't have the make tool. That's not a specific issue of this lib, but a general issue with the Arduino on Windows. Could you try on Linux? Maybe Google helps...? |
hey, |
You will need the includes from my lib. Replace the lwip/include drectory with the one from my repo. |
what do you mean i need the includes from your lib? _## Updating SDK libraries
I did this ugly to step up the direction error #include "C:/Users/hezi/Documents/Arduino/hardware/esp8266com/esp8266/tools/sdk/lwip/include/lwip/lwip_napt.h" #include "C:/Users/hezi/Documents/Arduino/hardware/esp8266com/esp8266/tools/sdk/lwip/include/lwip/app/dhcpserver.h"_ and I get: |
I success to solved this, i think this is a bug because need to add now I have this problem a lot of time: |
Values are in lwip_napt.h:
You are obviously not linking against the correct lib or you didn't include lwip_napt.h correctly. |
You are right but have this: /* Default size of the tables used for NAPT / that make to not compile the header. so i dont know what to do i have a lot of problems |
hi . i have same error in compiling |
Guess you tried this on Windows? |
no .i am in linux.kubuntu 18.04 |
If you type "make" on the commandline - does ist find the command? If not you probably have to install it. |
thats worked. i install make and i can compile and upload it on my nodeMCU .thank you. |
hi again .i have quastion. how much is muximum speed of this? |
Depends on the signal strength ond loss rate - under good conditions about 4-5 MBit are possible. |
hi. sorry its me again.i have another quastion. /** pointer to the actual data in the buffer */ /**
/** length of this buffer */ /** pbuf_type as u8_t instead of enum to save space */ /** misc flags */ /**
/* add a pointer for esf_buf */ its pbuf struct in pbuf.h file .iwant to know what is unit of len and tot_len attributes of this struct?and sum of len can be used to meter trafic that pass from esp? |
uint is bytes, len is the size of this buffer and tot_len the payload length of the complete buffer chain (in almost any case you have yu´´just one buffer here). You can add up tot_len to meter the traffic. |
Hello,
|
hey,
I tried to compile the WiFiNatRouter sketch and I get an error:
Build options changed, rebuilding all
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [build/api/api_lib.o] Error 2
exit status 2
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
help, please
The text was updated successfully, but these errors were encountered: