【发布时间】:2017-09-07 01:16:49
【问题描述】:
按照http://clang.llvm.org/get_started.html 中的指南,我尝试在 Windows 上构建 Clang 但是,当我尝试使用 cmake 创建 LLVM.sln 文件时出现错误:
CMake Warning at CMakeLists.txt:48 (message):
Visual Studio generators use the x86 host compiler by default, even for
64-bit targets. This can result in linker instability and out of memory
errors. To use the 64-bit host compiler, pass -Thost=x64 on the CMake
command line.
CMake Error at CMakeLists.txt:54 (project):
Failed to run MSBuild command:
MSBuild.exe
to get the value of VCTargetsPath:
Configuring incomplete, errors occurred!
See also "H:/build/CMakeFiles/CMakeOutput.log".
如何解决这个问题并生成 Visual Studio 2017 文件?
【问题讨论】:
标签: visual-studio cmake clang llvm