[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bino-list] Problem compiling v1.4.2 for windows
From: |
Martin Lambers |
Subject: |
Re: [Bino-list] Problem compiling v1.4.2 for windows |
Date: |
Wed, 30 Jan 2013 20:51:41 +0100 |
Hi Pedro!
On Wed, 30 Jan 2013 19:36:46 -0000, Pedro Silva Pinto wrote:
> I ran into a problem trying to compile Bino 1.4.2 for Windows, which
> I've done successfully before with previous versions.
Yes, sorry about that, the README.Windows file fails to mention some
current difficulties with MXE.
1) Qt4 pkgconfig files are not in the pkgconfig search path, so one has
to tell configure where to find them.
2) One has to tell the linker to allow multiple definitions of functions
3) LibASS drags in Harfbuzz which requires libusp10, but Harfbuzz's
pkgconfig file does not list that library.
The following configure script invocation works around these problems:
MXE=/path/to/mxe
export PATH=$MXE/usr/bin:$PATH
./configure --build="`build-aux/config.guess`" \
--host=i686-pc-mingw32 \
--without-equalizer --without-liblircclient \
CXXFLAGS="-Wall -Wextra -O3 -fomit-frame-pointer -flto"
LDFLAGS="-Wl,--allow-multiple-definition -flto" \
PKG_CONFIG_PATH_i686_pc_mingw32="$MXE/usr/i686-pc-mingw32/qt/lib/pkgconfig"\
LIBS="-lusp10"
Regards,
Martin
- [Bino-list] Problem compiling v1.4.2 for windows, Pedro Silva Pinto, 2013/01/30
- Re: [Bino-list] Problem compiling v1.4.2 for windows,
Martin Lambers <=
- Re: [Bino-list] Problem compiling v1.4.2 for windows, Pedro Silva Pinto, 2013/01/30
- Re: [Bino-list] Problem compiling v1.4.2 for windows, Martin Lambers, 2013/01/30
- Re: [Bino-list] Problem compiling v1.4.2 for windows, Pedro Silva Pinto, 2013/01/31
- Re: [Bino-list] Problem compiling v1.4.2 for windows, Martin Lambers, 2013/01/31
- Re: [Bino-list] Problem compiling v1.4.2 for windows, Martin Lambers, 2013/01/31
- Re: [Bino-list] Problem compiling v1.4.2 for windows, Pedro Silva Pinto, 2013/01/31