[Interest] No love building 5.2.0 from source

Bob Hood bhood2 at comcast.net
Fri Dec 27 00:01:10 CET 2013


I went through the complete steps listed at [1] and [2] to set up the build
environment for Qt 5.2.0 (although I'm using the 5.2.0 source distribution and
not a git clone).  I built ICU statically for the Qt build using VS2008
64-bit, and after pointing the environment at the ICU libraries, I configured
the Qt 5.2.0 source distribution and then launched a 64-bit build with
VS2008.  Not surprisingly, it failed (in the Shell module with an undefined
reference -- the Windows SDK in use was too old, I surmised).

I then went through the same setup process for VS2012 64-bit -- expecting, not
unreasonable, that it would _not_ fail.  However, after configuring with:

    configure -opensource -confirm-license -mp -release -nomake examples
-nomake tests

I am greeted by a torrential flood of:

...
dsserviceplugin.cpp
C:\Program Files (x86)\Windows Kits\8.0\include\um\objidlbase.h(6080) : error
C2061: syntax error : identifier '__RPC__out_xcount_part'
C:\Program Files (x86)\Windows Kits\8.0\include\um\objidlbase.h(6084) : error
C2061: syntax error : identifier '__RPC__in_xcount_full'
C:\Program Files (x86)\Windows Kits\8.0\include\um\objidlbase.h(6288) : error
C2061: syntax error : identifier '__RPC__out_xcount_part'
C:\Program Files (x86)\Windows Kits\8.0\include\um\objidlbase.h(6292) : error
C2061: syntax error : identifier '__RPC__in_xcount_full'
C:\Program Files (x86)\Windows Kits\8.0\include\um\objidlbase.h(6496) : error
C2061: syntax error : identifier '__RPC__out_xcount_part'
C:\Program Files (x86)\Windows Kits\8.0\include\um\objidlbase.h(6500) : error
C2061: syntax error : identifier '__RPC__in_xcount_full'
C:\Program Files (x86)\Windows Kits\8.0\include\um\objidl.h(14288) : error
C2061: syntax error : identifier '__RPC__inout_xcount'
C:\Program Files (x86)\Windows Kits\8.0\include\um\objidl.h(14289) : error
C2061: syntax error : identifier '__RPC__in_xcount'
...

And so on and so forth.

What command-line option did I miss that would address (or explain) this?

[1] http://qt-project.org/wiki/Compiling-ICU-with-MSVC
[2] http://qt-project.org/wiki/Building_Qt_5_from_Git




More information about the Interest mailing list