Hi.
Hope you can help me! I’ve downloaded the Qt source code on an Windows 8 ×64 machine and I’m trying to compile it in x86. When I run configure.bat and then nmake I get the following error:
fatal error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86’
How do I force the “module machine” to use x86? All search have lead to solutions containing a Visual Studio project file which I do not have.
What I have done:
Downloaded Qt5.1 from here [qt-project.org]
Unzipped the source
Run configure.bat (used -nomake on examples and demos)
Run nmake
Tried using cygwin and a VS2012 ×86 Native Tools Command Prompt (even x64 in desperation :) )
What I have:
Windows 8 ×64
Visual Studio 2012 Premium
Output:
_…
trees.c
uncompr.c
zutil.c
Generating Code…
lib /NOLOGO /OUT:..\..\..\lib\Qt5Bootstrap.lib @C:\cygwin\tmp\nmB61A.tmp
.obj\release_shared\qmalloc.obj : fatal error LNK1112: module machine type ‘x64’ conflicts with target machine type ‘X86’
NMAKE : fatal error U1077: ‘“C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\lib.EXE”’ : return code ‘0×458’_
↧