[Interest] MSVC 2015, configure 64 bit, missing 'arch.exe'

Michael Sué sue at sf.mpg.de
Mon Oct 19 09:51:18 CEST 2015


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.de at qt-project.org [mailto:interest-
> bounces+sue=sf.mpg.de at qt-project.org] On Behalf Of Philippe
> Sent: Saturday, October 17, 2015 12:47 PM
> To: interest at 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.macieira at 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 at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
> 
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list