[pulseaudio-discuss] Advice for building 4.0 for win32?

Thomas Martitz kugel at rockbox.org
Sat Jan 4 10:52:18 PST 2014

Am 04.01.2014 19:15, schrieb Michael DePaulo:
> Hi all,
> We on the X2go project ( http://www.x2go.org/ ) would like to build
> the latest stable version of pulseaudio (4.0) for 32-bit Windows.
> We would use the OBS builds listed below and on the wiki, but it is
> still only building 1.1:
> https://build.opensuse.org/project/monitor?package=&project=home%3Amkbosmans%3Amingw32%3Apulseaudio
> Any advice on building 4.0 (or master) would be greatly appreciated.
> For example, I saw from Maarten Bosmans's old emails that he strongly
> recommends using mingw32 cross-compilation from linux. But what distro
> would you recommend? Maarten's OBS builds are using openSUSE 12.1, but
> 12.1 is EOL.

Yes, I have used that approach to build 4.0 as well. Works best because 
you can use the build system as always, just provide compiler prefix and 
paths to dependencies (disabling some features makes it easier).

This is the cmdline for configure I used, however it's already a long 
time ago.

-I$PWD/win32-prefix/include/orc-0.4" CFLAGS="-g -m32 
-I$PWD/win32-prefix/include" LDFLAGS="-L$PWD/win32-prefix/lib 
-L$PWD/win32-prefix/bin"  ./configure  --build=i686-pc-linux-gnu 
--host=i686-w64-mingw32  --enable-orc=no --enable-waveout 
--enable-shared --disable-static --disable-alsa --disable-avahi 
--disable-dbus  --disable-gtk2 --disable-default-build-tests 

I installed all dependencies and PA itself into $PWD/win32-prefix.

Best regards

More information about the pulseaudio-discuss mailing list