[Interest] Compile error with windows kit 8.1

Kalinowski Maurice Maurice.Kalinowski at theqtcompany.com
Tue Aug 25 10:29:05 CEST 2015


I am wondering how msvc2010 and Windows Kit 8.1 is supposed to work together in conjunction.

What platform are you trying to build for? It feels like you are mixing two different VS versions, which is not something that always works...

Maurice

> -----Ursprüngliche Nachricht-----
> Von: interest-bounces+maurice.kalinowski=theqtcompany.com at qt-
> project.org [mailto:interest-
> bounces+maurice.kalinowski=theqtcompany.com at qt-project.org] Im
> Auftrag von Mathieu Slabbinck
> Gesendet: Tuesday, August 25, 2015 8:44 AM
> An: Thiago Macieira <thiago.macieira at intel.com>
> Cc: interest at qt-project.org
> Betreff: Re: [Interest] Compile error with windows kit 8.1
> 
> On Mon, Aug 24, 2015 at 6:19 PM, Thiago Macieira
> <thiago.macieira at intel.com> wrote:
> > On Monday 24 August 2015 17:54:40 Mathieu Slabbinck wrote:
> >> On Mon, Aug 24, 2015 at 5:35 PM, Thiago Macieira
> >>
> >> <thiago.macieira at intel.com> wrote:
> >> > On Monday 24 August 2015 11:17:13 Mathieu Slabbinck wrote:
> >> >> C:\Program Files (x86)\Windows
> Kits\8.1\Include\shared\ws2def.h:905:
> >> >> error: Can't concatenate non identifier tokens
> >> >
> >> > Looks like your version of MinGW is not compatible with your
> >> > Windows SDK headers. This is not a Qt problem, sorry.
> >> >
> >> > Try downgrading the Windows SDK or upgrading MinGW.
> >> >
> >> > In any case, doesn't mingw come with its own ws2def.h? The one I
> >> > have here from cross-mingw is 38 lines long, so it couldn't cause a
> >> > problem on line 905.
> >>
> >> Hi,
> >>
> >> it's not a mingw build. It's precompiled qt binaries for msvc2010.
> >
> > Are you sure? The error message does not look like an MSVC error. MSVC
> > errors are prefixed with a Xnnnn, where X is a letter and nnnn are the
> > 4-digit error codes. The line number is printed in parentheses, not after a
> colon.
> >
> > It looks to me like you're running MinGW.
> >
> > --
> > 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
> Quite sure,
> I have a qt5.5.0 which I've statically built myself against msvc2010 and it give
> the same issue...
> I don't recall even installing anything mingw related. Anyhow, is there an
> easy check to make on how to verifiy it it's trying to use something mingw
> related?
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list