[mythtv] Win32-Packager fails to compile QT4 (Was: Win32 port fails to compile Freetype)

Michel Meyers steltek at tcnnet.com
Fri Nov 28 13:07:03 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

aon.913421651 at aon.at wrote:
> Michel,
> 
>>I recently started to try and compile the Windows Port of Mythtv.
>>So far, I got this:
>>"In file included from
>>C:/MSys/1.0/sources/*freetype*-2.3.5/include/*freetype*/config
>>/ftstdlib.h:123,
>>from ./builds/unix/ftconfig.h:43,
>>from
>>C:/MSys/1.0/sources/*freetype*-2.3.5/src/base/ftsystem.c:29:
>>c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/stdlib.h:317:
>>error: s
>>yntax error before "double"
>>make: *** [/sources/*freetype*-2.3.5/objs/ftsystem.lo] Error 1
>>EFFECT FAILED (file -> shell): unable to locate expected file
>>(C:/MSys/1.0/sourc
>>es/*freetype*-2.3.5/objs/.libs/libfreetype.a)."
> 
> Had the same problem after deleting my build environment and starting
> from scratch.
> After uninstalling everything and replacing mingw 5.1.4 by 5.1.3 (and
> using selection "previous" during mingw installation) I was able to pass
> by this problem, currently build fails when trying to patch libcdaudio,
> will continue tomorrow...

You can fix the double problem by changing the inline to __inline__ on
that line.

But then my compile fails a bit further due to conflicting definitions
of InterlockedCompareExchange in QT4 and the MingW includes.

Greetings,
       Michel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkkv7PcACgkQ2Vs+MkscAyVzwwCfWNYjydRb5LczHIIT5mWN8llt
UisAn28PByii9aJnuNBqhtiCnZcQ4Nmg
=pnd9
-----END PGP SIGNATURE-----



More information about the mythtv-dev mailing list