<div dir="ltr">Hello Gilles,<br><br>Here it is:<br><br>PS > cmake -G "Visual Studio 14 2015" -T v140_clang_3_7 -DLLVM_PATH="E:\\llvm" -<font color="#ff0000">DCMAKE_SYSTEM_VERSION=8.1</font>  -DCMAKE_C_COMPILER="E:\\e2tools\\ext-tools\\llvm\\clang-cl.exe" -DCMAKE_CXX_COMPILER="E:\\e2tools\\ext-tools\\llvm\\clang-cl.exe" ..\src\<br>-- The CXX compiler identification is unknown<br>-- The C compiler identification is unknown<br>-- Check for working CXX compiler using: Visual Studio 14 2015<br>-- Check for working CXX compiler using: Visual Studio 14 2015 -- broken<br>CMake Error at E:/CMake/clang_3_7/Modules/CMakeTestCXXCompiler.cmake:54 (message):<br>  The C++ compiler "E:\e2tools\ext-tools\llvm\clang-cl.exe" is not able to<br>  compile a simple test program.<br><br>  It fails with the following output:<br><br>   Change Dir: E:/libcxx/b-libcxx-Cascade-msbuild2/CMakeFiles/CMakeTmp<br><br>  Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe"<br>  "cmTC_00a23.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"<br><br>  Microsoft (R) Build Engine version 14.0.24720.0<br><br>  C:\Program Files<br>  (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5):<br>  error MSB8020: The build tools for v140_clang_3_7 (Platform Toolset =<br>  'v140_clang_3_7') cannot be found.  To build using the v140_clang_3_7 build<br>  tools, please install v140_clang_3_7 build tools.  Alternatively, you may<br>  upgrade to the current Visual Studio tools by selecting the Project menu or<br>  right-click the solution, and then selecting "Retarget solution".<br>  [E:\libcxx\b-libcxx-Cascade-msbuild2\CMakeFiles\CMakeTmp\cmTC_00a23.vcxproj]<br><br>    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets(57,5): error MSB8020: The build tools for v140_clang_3_7 (Platform Toolset = 'v140_clang_3_7') cannot be found. To build using the v140_clang_3_7 build tools, please install v140_clang_3_7 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [E:\libcxx\b-libcxx-Cascade-msbuild2\CMakeFiles\CMakeTmp\cmTC_00a23.vcxproj]<br><br>      0 warning<br>      1 error<br><br>  CMake will not be able to correctly generate this project.<br>Call Stack (most recent call first):<br>  CMakeLists.txt:17 (project)<br><br>-- Configuring incomplete, errors occurred!<br><br>PS. Part of the messages in Chinese are removed, please tell me if you need it as well<br><br>Thanks for your help,<br>Yi-Hong<div class="gmail_extra"><br><div class="gmail_quote">2016-02-04 3:25 GMT+08:00 Gilles Khouzam <span dir="ltr"><<a href="mailto:Gilles.Khouzam@microsoft.com" target="_blank">Gilles.Khouzam@microsoft.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Yi-Hong,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Can you try to add the following: -DCMAKE_SYSTEM_VERSION=8.1 to your parameters?</span></p></div></div></blockquote></div></div></div>