[Interest] No love building 5.2.0 from source
Sze Howe Koh
szehowe.koh at gmail.com
Fri Dec 27 00:26:38 CET 2013
On 27 December 2013 07:01, Bob Hood <bhood2 at comcast.net> wrote:
> 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
Hi,
A quick Google search reveals that others have this problem outside of
Qt too. It seems to be related to mismatched versions of the Windows
SDK and DirectX SDK, which can have different versions of the same
header files.
See http://guidedhacking.com/showthread.php?3859-C-ESP-AIMBOT-SOURCE-CODE-GDI-Drawing-Errors-Please-HELP!&s=d6019ed0cac0b6f7ae0376871afa9e7a
for example.
Regards,
Sze-Howe
More information about the Interest
mailing list