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

Michel Meyers steltek at tcnnet.com
Tue Dec 2 20:59:46 UTC 2008


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

Andreas Mayer wrote:
> Michel,
> 
>> 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. 
> As I said before it appears that these problems are caused by recent mingw
> installations.

Possible, but so far I've had better progress with MingW 5.1.4 than with
the previous one.

In fact, I only needed to intervene three times:

1. manually getting fftw-3.1.2 (It's still available on their FTP site
but no longer at the link that the packaging script uses.)
2. patch the double/inline problem mentioned above.
3. patch sspi.h to add '#include <subauth.h>' on line 11.

I'm now stuck at the duplicate definitions of Interlocked* functions,
but I just tried adding this around the declarations in
qatomic_windows.h (line 390):

#ifndef __INTERLOCKED_DECLARED
#define __INTERLOCKED_DECLARED

[declarations]

#endif

This seems to work as the compile is now running and already past the
step where it usually stopped. I'm curious to see how far it will go now.

Greetings,
       Michel

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

iEYEARECAAYFAkk1ocEACgkQ2Vs+MkscAyXHDACfQyiQsO/FlLn0UrM431Clb3C2
lm4An1aBkaxdMhyYjhTqm4A5Rz/VB1ZN
=Qzql
-----END PGP SIGNATURE-----



More information about the mythtv-dev mailing list