Wireshark-bugs: [Wireshark-bugs] [Bug 2719] Add Microsoft Visual 2008 Express Edition build tool

Date: Fri, 18 Jul 2008 20:29:15 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2719


Jeff Benshetler <Jeff.Benshetler@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Jeff.Benshetler@xxxxxxxxx




--- Comment #2 from Jeff Benshetler <Jeff.Benshetler@xxxxxxxxx>  2008-07-18 20:29:13 PDT ---
I was able to make Wireshark build and (mostly) work using Visual Studio 2008
Professional (not Express) using nearly identical changes. I wish I had checked
bugzilla first. 

The one part of Wireshark 1.0.99 that does not work is File->Open or Ctrl+O
fails to open the file dialog. However, I can load and dissect packets using
File->Open Recent. No problems with packet capture, performance is good. 

I needed to make an additional change to adns.tmp/src/config.h in the HAVE_POLL
region. The struct pollfd and macros POLLIN, POLLPRI, and POLLOUT collide with
Windows.h. Adding an #ifdef to avoid compiling that if _MSC_VER>=1500 does the
trick.

During the build, there is an issue where xcopy needs to ask whether the target
is a directory or a file. This can be handled with a /d switch, but I haven't
found the offending line to fix it.

I am going to try the same set of changes against 1.0.2 and see if the
File->Open issue disappears. 


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.