Missing header files in UDP demo

digitalwiz wrote on Tuesday, September 23, 2014:

I’m porting the FreeRTOS_Plus_UDP_and_CLI_Windows_Simulator project to the LPCXpresso environment. WinPCap/arch.c includes three header files that I can’t find anywhere:

  • net/uip.h
  • net/uip_arp.h
  • net/clock-arch.h


davedoors wrote on Wednesday, September 24, 2014:

You don’t need WinPCap if you are porting to the LPCXpresso, so you don’t need those header files.

digitalwiz wrote on Wednesday, September 24, 2014:

Let me clarify. I’m using LPCXpresso with MinGW to build the Windows simulator, so I apparently do need the WinPCap library. Interestingly, I don’t need arch.c so that took are of the include problem. Finally got everything to compile after a few tweaks, but now gcc complains that it can’t find wpcap.lib. I’ve tried various permutations but nothing seems to work. What am I missing?

rtel wrote on Wednesday, September 24, 2014:

Are you using the wpcap.lib file from the FreeRTOS distribution? If so
it is probably just for MSVC. You will probably be able to download one
for GCC from the wpcap website.