Hi Simon Thank you for your answer. I will try to clean up my includes.
Is there an example project for lwip 1.4.1 and win32? The one from the contrib package I didn't get running. Thanks a lot Markus Gesendet: Sonntag, 25. Mai 2014 um 19:54 Uhr Von: "Simon Goldschmidt" <[email protected]> An: "Mailing list for lwIP users" <[email protected]> Betreff: Re: [lwip-users] lwip 1.4.1 and win32: conflicts with 'in_addr', 'sockaddr_in', ... markus.forrer wrote: Now I'm trying to add lwip to the target simulation project (Win32 Visual Studio 2013). The build fails with conflicts like: error C2011: 'in_addr' : 'struct' type redefinition lwip\src\include\ipv4\lwip\inet.h error C2011: 'sockaddr_in' : 'struct' type redefinition lwip\src\include\lwip\sockets.h : : This types are already defined in winsock.h How can I fix this problem? Since windows already provides the same functionality lwIP does (the socket interface), you have to ensure the socket-related headers of lwIP are not included in the same c files as one of the windsock headers. In other words, clean up your includes and you should be done. I'm using lwIP on win32 successfully on various simulation projects. Simon_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
