[pulseaudio-discuss] Advice for building 4.0 for win32?
mikedep333 at gmail.com
Sun Jan 5 19:01:21 PST 2014
I managed to make PulseAudio 3.0 compile on mingw32 on the OBS for
opensuse 12.1, 12.2, and 12.3 (but not 13.1):
But when I tried to compile 4.0, it errored out on daemon/caps:77:9
because "uid" was not initialized:
I am an amateur at programming in C, but it appears to me that this is
a win32-specific bug in the PulseAudio 4.0 code.
Everyone is welcome to use the 3.0 builds and all future builds I make
on the OBS. I am not sure if the 3.0 builds work correctly at runtime
or not, I will figure that out tomorrow or Tuesday. If they do, I will
make a zip file containing the needed .dll & .exe files (and source
code) available for others to download and redistribute.
On Sat, Jan 4, 2014 at 2:16 PM, Michael DePaulo <mikedep333 at gmail.com> wrote:
> Thank you. What distro have you been using?
> On Jan 4, 2014 1:52 PM, "Thomas Martitz" <kugel at rockbox.org> wrote:
>> 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:
>>> 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
>> -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 --prefix=$PWD/win32-prefix
>> I installed all dependencies and PA itself into $PWD/win32-prefix.
>> Best regards
>> pulseaudio-discuss mailing list
>> pulseaudio-discuss at lists.freedesktop.org
More information about the pulseaudio-discuss