Indeed, I was configuring vcvarsall.bat in the wrong way. I am using a 64 bit OS for many years, and I configured vcvarsall.bat as if my OS was 32 bit. Until last WE, I never has any problem.
By following the instructions there, I have solved my problem. https://msdn.microsoft.com/en-us/library/x4d2c09s.aspx Philippe On Mon, 19 Oct 2015 11:12:09 +0000 Kalinowski Maurice <maurice.kalinow...@theqtcompany.com> wrote: > > > > Interesting. How do you force the usage of the the 64-bit native compiler? > > > > [Kalinowski Maurice] > Open a cmd.exe and use "<Visual Studio Install Dir>\vc\vcvars x64". That one > sets up the environment up to use the 64bit cl.exe etc in your PATH. > > Btw. I was not able to reproduce this, at least against 5.5.1 being released > last week. So some more input might be helpful here. Both 64bit and 32bit > builds seem to work. So some more details would be beneficial (eg. Which > command line you are using, any of the shortcuts by VS or such?). > > Maurice > > > > It is worth noting, in my case, that I could build 5.5.0 with MSVC-2015 some > > weeks ago. Not anymore without my solution. This means some thing has > > changed on my system. Apart traditional Windows 10 micro-updates, I did > > install the latest Windows SDK https://dev.windows.com/en- > > us/downloads/windows-10-sdk > > > > Philippe > > > > On Mon, 19 Oct 2015 09:51:18 +0200 > > Michael Sué <s...@sf.mpg.de> wrote: > > > > > Hi Philippe, > > > > > > I had the same problem. It may be a problem of the x86_64 cross-compiler, > > indeed, or Qt's configure does not recognize the target platform when I use > > the cross-compiler of VS 2015. With VS 2013 there was no such problem. > > > > > > IIRC I solved it by using the 64-bit native compiler. > > > > > > - Michael. > > > > > > > -----Original Message----- > > > > From: interest-bounces+sue=sf.mpg...@qt-project.org > > > > [mailto:interest- > > > > bounces+sue=sf.mpg...@qt-project.org] On Behalf Of Philippe > > > > Sent: Saturday, October 17, 2015 12:47 PM > > > > To: interest@qt-project.org > > > > Subject: Re: [Interest] MSVC 2015, configure 64 bit, missing 'arch.exe' > > > > > > > > After 6 hours on the case, I found a solution, but it's a hack... > > > > maybe it can be be useful to some... > > > > > > > > First of all, the following did not help: reinstalling VC-2015, > > > > cleaning temp folders, multiple rebooting, multiple attempts on a fresh > > Qt tree. > > > > > > > > Using nmake as you suggested is the way... > > > > But if I run nnake for the 64bit config (x86), it fails indeed, with > > > > this error: > > > > > > > > .\arch.cpp: fatal error C1902: Program database manager mismatch; > > > > please check your installation > > > > > > > > But if I run nnake for the 32bit config (x86), it works. And if I > > > > erase the arch binaries and then run nnake for the 64bit config > > (x86_amd64), it now works! > > > > And with the arch.exe prebuilt like this, the rest of configure stge > > > > works, and the full 64 bit Qt can be built later with success... > > > > > > > > So, still a mystery, but I have a solution. > > > > > > > > Philippe > > > > > > > > On Fri, 16 Oct 2015 16:21:40 -0700 > > > > Thiago Macieira <thiago.macie...@intel.com> wrote: > > > > > > > > > On Saturday 17 October 2015 00:26:54 Philippe wrote: > > > > > > I don't have the problem with the 32 bit configure. But with the > > > > > > 64 bit, I always get the following error during configure. Any idea? > > > > > > > > > > > > Running configuration tests... > > > > > > jom: C:\Qt\5.5.1\64\qtbase\config.tests\arch\Makefile [arch.obj] > > > > > > Error 2 Could not find output file 'arch.exe' or 'arch' in > > > > > > C:/Qt/5.5.1/64/qtbase/config. tests/arch : No such file or > > > > > > directory Press any key to continue . . . > > > > > > > > > > Your compiler is probably broken and failed to compile the > > > > > arch.exe executable. > > > > > > > > > > Go into that directory and run nmake. See if it produces a binary. > > > > > > > > > > -- > > > > > Thiago Macieira - thiago.macieira (AT) intel.com > > > > > Software Architect - Intel Open Source Technology Center > > > > > > > > > > _______________________________________________ > > > > > Interest mailing list > > > > > Interest@qt-project.org > > > > > http://lists.qt-project.org/mailman/listinfo/interest > > > > > > > > > > > > _______________________________________________ > > > > Interest mailing list > > > > Interest@qt-project.org > > > > http://lists.qt-project.org/mailman/listinfo/interest > > > > > > _______________________________________________ > > Interest mailing list > > Interest@qt-project.org > > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest