Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Help needed building portaudio for windows

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Sun, 13 Oct 2013 10:14:41 -0700
On 10/13/13 1:18 AM, Graham Bloice wrote:
> On 12 October 2013 23:10, Joerg Mayer <jmayer@xxxxxxxxx
> <mailto:jmayer@xxxxxxxxx>> wrote:
> 
>     On Sat, Oct 12, 2013 at 07:45:10PM +0100, Graham Bloice wrote:
>     > On 12 October 2013 18:20, Joerg Mayer <jmayer@xxxxxxxxx
>     <mailto:jmayer@xxxxxxxxx>> wrote:
>     >
>     > > I still haven't found out how to build portaudio in the
>     > > Wireshark-win32-libs
>     > > directory. Can someone please provide information where this is
>     documented
>     > > or how to do it if no such documentation exists?
>     > >
>     >
>     > The portaudio object files are built in ui\gtk\Makefile.nmake from the
>     > sources in the portaudio lib directory.  The objects are then directly
>     > linked into libgtkui.
> 
>     I just looked at it and while it would be easy to copy that solution
>     I don't like it.
>     Is there any reason why zlib and portaudio aren't built by the setup
>     target/script instead of the build process?
> 
>  
> Setup doesn't really know what toolchain you'll be building with.
>  
> The reason for compiling zlib is because of crt mismatch so that
> definitely needs to be built with the correct toolchain.

The Nuget zlib package has pre-built binaries for the 2010 and 2012
runtimes. If we're looking for an excuse to start using Nuget and/or
Chocolatey this might be a good one.

http://www.nuget.org/packages/zlib/