Wireshark-dev: Re: [Wireshark-dev] Compilation error on Windows with VC 6
From: Bill Meier <[email protected]>
Date: Mon, 26 May 2008 22:29:25 -0400
Abhijit Mirajkar wrote:

I could successfully compile the version 1.0.0 tarball with Visual C++ 2005
Express Edition and Platform SDK Server 2003 R2. However I am getting
compilation error when I use Visual C++ 6.0 instead of VC 2005  EE.

> <snip>
I am attaching the compilation output with the errors below for your
reference. Any help will be greatly appreciated.

D:\Programs_Win2K\Microsoft Platform SDK for Windows Server 2003
help.h(374) : error C2146: syntax error : missing ')' before identifier

There may be several different things goiung on  ....

However: first things first:

If you are compiling with VC6 I would not have expected
"D:\Programs_Win2K\Microsoft Platform SDK for Windows Server 2003 R2\include\html"
to be in the include path.

1. Did you start a fresh "cmd" window and then execute the vc6 setup file "c:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32" ? (The actual location of the VC6 setup file might be different depending upon how VC6 was installed on your PC).
2. Did you do a distclean ??

3. Did you edit the config.nmake file to set the proper value for MSC_VARIANT ?