Wireshark-dev: Re: [Wireshark-dev] Microsoft Visual C Version 6 support isa bitoutdated ...
From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Sun, 07 Jan 2007 20:26:45 +0100
Andrew Hood wrote:
Ulf Lamping wrote:
Thanks for pointing it out!

As the threads suggest, this isn't a direct problem with the MSVC version used, but if a Platform SDK is used or not.

wireshark SVN 20326 for gtk2 compiles with MSVC2005 (aka MSVC8,
"Microsoft Visual Studio 8") and runs with the attached patches, plus
compiling zlib as specified in the MSVC7 notes in the wiki.
The following gives a good explanation of the GNUTLS problems under recent SDK versions: http://www.mail-archive.com/openssl-dev@xxxxxxxxxxx/msg03802.html

Now I understand what this is all about, the solution with /DNOCRYPT is to "switch off" inclusion of Wincrypt.h altogether. I've added /DNOCRYPT to the GNUTLS_CFLAGS. Now it's working with 2005 Express, maybe I did a mistake the last time I've tried it.
Reading
gzipped pcap files does work.
That's the next I will look for - how to do this in a clean.way for all compiler variants.
The extra libs added in Makfile.nmake may be overkill, but I wasn't
going to spend time working out which ones were superfluous.
I didn't need to change anything here :-) Is this needed for the zlib linking?
The patches are brute force. ifdefs will be needed to work with other
compiler versions.
Yes, that's what I'm experimenting with in the last days - being able to compile on *all* variants. This is consuming a *lot* of time.
I'll try gtk1 next.
gtk1 works "out of the box" for me, if gtk2 works.

At least there's some progress ...

Regards, ULFL