[Qt-interest] build of qt 4.4.3 with mingw fails on Windows 7 due to conflicting InterlockedCompareExchange

Philipp Münzel mail at philippmuenzel.de
Sun Jun 6 14:44:48 CEST 2010


I now tried several versions of mingw. It seems that only gcc 3.4.2 is 
supported with qt < 4.5 and only gcc 4.4.1 with the later versions. 
Intermediate versions like gcc 3.4.5 produce the error.
At least I have found an old mingw installation with gcc 3.4.2 that 
compiles qt 4.4.3.
I think, I'll have to put this mingw version on a separate disk and 
store it in a bank vault ;) in case I ever need it again.

Philipp

Am 06.06.2010 00:29, schrieb Thiago Macieira:
> Em Sábado 5. Junho 2010, às 23.05.31, mail at philippmuenzel.de escreveu:
>    
>> So what is the problem here? Win7? 64bit? improper Qt sourcecode package?
>> Faulty mingw installation?
>>      
> Both Qt and MinGW.
>
> The Interlocked functions on Windows change according to compiler and
> wordsize. It's a mess.
>
> It's fixed in later Qt versions. I recommend you upgrade.
>
>    



Am 05.06.2010 23:42, schrieb K. Frank:
> Hello Philipp -
>
> I can give you a data point for qt 4.6.0...
> I am also running qt on 64-bit windows 7.I was able to build qt 4.6.0.  (I never tried the version 4.4.3 that
> you're working with.)  I did this with the tdm build of 32-bit mingw,
> g++ version 4.4.1.
>
>    
> My configure differs from yours:  I ran the plain-vanilla
>
>     configure -opensource -platform win32-g++
> and then successfully ran
>     mingw32-make
>
>    
> Sorry that I can't really help you.  All I can say was that I was
> able to build a newer version of qt using 32-bit mingw on 64-bit
> windows 7.
>
> Good Luck.
>
>
> K. Frank
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>    




More information about the Qt-interest-old mailing list