Wireshark mailing list archives

Re: HAVE_PCAP symbols by build type


From: Guy Harris <guy () alum mit edu>
Date: Sat, 6 Aug 2011 12:20:04 -0700


On Aug 6, 2011, at 1:32 AM, Joerg Mayer wrote:

I've created a small list that shows the HAVE_PCAP... symbols used in
the source code and by build type (configure, cmake, windows).
Looks like we have some inconsistencies, but some of them might be due
to differences in winpcap and libpcap. Anyone willing to take a look?

So CMake is supposed to work with MSVC++ on Windows as well as with the standard build tools on UN*X.  Does Wireshark 
build with CMake on Windows?  In particular, does cmake/modules/FindPCAP.cmake work with WinPcap?  If not, do we want 
to make it work?  Note that we do some checks of WinPcap's capabilities at run time, because the Windows build of 
Wireshark will work with or without WinPcap - it loads the library at run time, marks capture as not possible if that 
fails, and looks for various functions if that succeeds, and works as best it can around the absence of newer APIs - so 
we might not want to do all those checks on Windows.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: