This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EK-TM4C1294XL: lwip/ip.h and include path issues while building enet_tcpecho_server

Part Number: EK-TM4C1294XL
Other Parts Discussed in Thread: TM4C1294NCPDT,

Setup Details

Device: TM4C1294NCPDT (EK-TM4C1294XL board)

TivaWare Version: 2.2.0.295

Compiler: TI Arm Clang 4.0.3.LTS

Project: enet_tcpecho_server (from examples/boards/ek-tm4c1294xl/)

Path Root: E:/TIX (TivaWare extracted here)

lwIP Folder: E:/TIX/third_party/lwip-1.4.1/

Current Problem

The compiler throws:

E:/TIX/third_party/lwip-1.4.1/src/include/lwip/tcp.h", line 41: fatal error #1965: cannot open source file "lwip/ip.h"


On inspection, I noticed that in my TivaWare installation, the folder
E:/TIX/third_party/lwip-1.4.1/src/include/lwip/ does not contain ip.h.
The only ip.h present is under:

E:/TIX/third_party/lwip-1.4.1/src/include/ipv6/lwip/ip.h


There is no ipv4/lwip folder, and no top-level lwip/ip.h either.

What I Suspect

Either the IPv4 headers are missing from this TivaWare installation (possibly incomplete extract),

Or this version of enet_tcpecho_server depends on a different lwIP 1.4.1 variant that included IPv4 headers.

Help Requested

Could you please confirm:

Whether the lwip/ip.h file (and ipv4/lwip/ip.h) should normally exist in TivaWare_C_Series-2.2.0.295?

If yes — can you share the correct lwIP 1.4.1 folder structure (or link to the proper version)?

If the example was updated for IPv6-only, is there a documented way to adapt the enet_tcpecho_server project to the available lwIP tree?

Is there any official patch or updated lwIP package recommended for TM4C1294 Ethernet examples?

 

354b35c0-dcbf-4f59-8431-bb3fbe9ff90a.png