The mainline to compile Ethereal under Windows is using Microsoft Visual Studio Version 6.
Here are some tips to compile Ethereal under newer compiler versions:
to qoute a mail from Laurent Rabret (see http://www.ethereal.com/lists/ethereal-dev/200501/msg00636.html):
To compile with the .NET SDK, you'll have to install the platform SDK (available for free).
You may encounter linking problems caused by "bad" parameters in config.nmake. I never sent a patch to fix this because I'm not sure whether or not it impacts VS6 compilation. I replaced: 1) LOCAL_CFLAGS=/Zi /W3 by LOCAL_CFLAGS= /Zi /DWIN32 /W3 2) LOCAL_LDFLAGS=/DEBUG by LOCAL_LDFLAGS=/DEBUG /DEFAULTLIB:msvcrt /NODEFAULTLIB:libc
While compiling plugins, you might also encounter problems. For these plugins, in the Makefile.nmake file change LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS) by LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 ...I know, that's not very clean
At last, don't forget to include a line such this:
File "c:\program files\Microsoft Visual Studio .NET 2003\Common7\IDE\msvcr71.dll"
... in your ethereal.nsi script (if you want to create an installer)