MSVC 2015 builds Failing After 2017 Support added

Kaganski Mike mikekaganski at hotmail.com
Sat Feb 18 20:12:00 UTC 2017


Hi Luke,

On 2/18/2017 10:52 PM, Luke Benes wrote:

When I try to build with MSVC 2015 after:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=b862cbdd345ec57c2595629ded6a3969e1e65d56

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?

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.

--
Best regards,
Mike Kaganski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20170218/05e790c3/attachment.html>


More information about the LibreOffice mailing list