<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hallo,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I downloaded ITK V4.10 and trying to build it with Cmake V3.6.2 on Windows 10 with Visual Studio 2015. As “current generator” I tried both “Visual Studio 14 2015” and “Visual Studio 14 2015 Win64” but I immediately get errors with cmake
when configuring. Errors are:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">The C compiler identification is unknown<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">CMake Error at CMakeLists.txt:18 (enable_language):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"> No CMAKE_C_COMPILER could be found.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal">Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.<o:p></o:p></p>
<p class="MsoNormal">Compiler: <o:p></o:p></p>
<p class="MsoNormal">Build flags: <o:p></o:p></p>
<p class="MsoNormal">Id flags: <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The output was:<o:p></o:p></p>
<p class="MsoNormal">1<o:p></o:p></p>
<p class="MsoNormal">Microsoft (R) Build Engine version 14.0.25420.1<o:p></o:p></p>
<p class="MsoNormal">Copyright (C) Microsoft Corporation. All rights reserved.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Build started 31.10.2016 18:53:27.<o:p></o:p></p>
<p class="MsoNormal">Project "C:\ITK_build_410\CMakeFiles\3.6.2\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).<o:p></o:p></p>
<p class="MsoNormal">C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 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". [C:\ITK_build_410\CMakeFiles\3.6.2\CompilerIdC\CompilerIdC.vcxproj]<o:p></o:p></p>
<p class="MsoNormal">Done Building Project "C:\ITK_build_410\CMakeFiles\3.6.2\CompilerIdC\CompilerIdC.vcxproj" (default targets) -- FAILED.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Build FAILED.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">"C:\ITK_build_410\CMakeFiles\3.6.2\CompilerIdC\CompilerIdC.vcxproj" (default target) (1) -><o:p></o:p></p>
<p class="MsoNormal">(Desktop_PlatformPrepareForBuild target) -> <o:p></o:p></p>
<p class="MsoNormal"> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 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". [C:\ITK_build_410\CMakeFiles\3.6.2\CompilerIdC\CompilerIdC.vcxproj]<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> 0 Warning(s)<o:p></o:p></p>
<p class="MsoNormal"> 1 Error(s)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Time Elapsed 00:00:00.48<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.<o:p></o:p></p>
<p class="MsoNormal">Compiler: <o:p></o:p></p>
<p class="MsoNormal">Build flags: <o:p></o:p></p>
<p class="MsoNormal">Id flags: <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The output was:<o:p></o:p></p>
<p class="MsoNormal">1<o:p></o:p></p>
<p class="MsoNormal">Microsoft (R) Build Engine version 14.0.25420.1<o:p></o:p></p>
<p class="MsoNormal">Copyright (C) Microsoft Corporation. All rights reserved.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Build started 31.10.2016 18:58:27.<o:p></o:p></p>
<p class="MsoNormal">Project "C:\ITK_build_410\CMakeFiles\3.6.2\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).<o:p></o:p></p>
<p class="MsoNormal">C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 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". [C:\ITK_build_410\CMakeFiles\3.6.2\CompilerIdC\CompilerIdC.vcxproj]<o:p></o:p></p>
<p class="MsoNormal">Done Building Project "C:\ITK_build_410\CMakeFiles\3.6.2\CompilerIdC\CompilerIdC.vcxproj" (default targets) -- FAILED.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Build FAILED.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">"C:\ITK_build_410\CMakeFiles\3.6.2\CompilerIdC\CompilerIdC.vcxproj" (default target) (1) -><o:p></o:p></p>
<p class="MsoNormal">(Desktop_PlatformPrepareForBuild target) -> <o:p></o:p></p>
<p class="MsoNormal"> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 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". [C:\ITK_build_410\CMakeFiles\3.6.2\CompilerIdC\CompilerIdC.vcxproj]<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> 0 Warning(s)<o:p></o:p></p>
<p class="MsoNormal"> 1 Error(s)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What can I do to solve the problem?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you<o:p></o:p></p>
</div>
</body>
</html>