<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body smarttemplateinserted="true" bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Luke,<br>
<br>
On 2/18/2017 10:52 PM, Luke Benes wrote:<br>
</div>
<blockquote cite="mid:CY1PR11MB0842C91E887BC809F42C33E3A75C0@CY1PR11MB0842.namprd11.prod.outlook.com" type="cite">
<pre wrap="">When I try to build with MSVC 2015 after:
<a class="moz-txt-link-freetext" href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=b862cbdd345ec57c2595629ded6a3969e1e65d56">https://cgit.freedesktop.org/libreoffice/core/commit/?id=b862cbdd345ec57c2595629ded6a3969e1e65d56</a>

I'm getting the following build error:

Build started 2/18/2017 1:11:26 PM.
Project "D:\core\workdir\UnpackedTarball\lcms2\Projects\VC2013\lcms2_DLL\lcms2_DLL.vcxproj" on node 1 (default targets).
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5): error MSB8036: The Windows SDK version 10.0.10240.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [D:\core\workdir\UnpackedTarball\lcms2\Projects\VC2013\lcms2_DLL\lcms2_DLL.vcxproj]
Done Building Project "D:\core\workdir\UnpackedTarball\lcms2\Projects\VC2013\lcms2_DLL\lcms2_DLL.vcxproj" (default targets) -- FAILED.

Build FAILED.

"D:\core\workdir\UnpackedTarball\lcms2\Projects\VC2013\lcms2_DLL\lcms2_DLL.vcxproj" (default target) (1) ->
(Desktop_PlatformPrepareForBuild target) ->
  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5): error MSB8036: The Windows SDK version 10.0.10240.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [D:\core\workdir\UnpackedTarball\lcms2\Projects\VC2013\lcms2_DLL\lcms2_DLL.vcxproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.44
make[1]: *** [D:/core/external/lcms2/ExternalProject_lcms2.mk:19: D:/core/workdir/ExternalProject/lcms2/build] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:259: build] Error 2

Have Windows SDK requirements changed for 2015 or is this a bug? </pre>
</blockquote>
<br>
It is fixed by installing the mentioned SDK from VS2015 installer. Currently, IIRC, it offers 3 versions of Win10 SDK, and I chose to install all of them; it works now for me.<br>
<div class="moz-signature"><br>
-- <br>
Best regards,<br>
Mike Kaganski</div>
<span class="st4cursor"></span>
</body>
</html>