I am trying to build llvm from source following their instructions under the using visual studio section. When I run the command cmake -DLLVM_ENABLE_PROJECTS=clang -G "Visual Studio 17 2022" -A x64 -Thost=x64 ..\llvm
, everything appears fine, until i see the following:
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
CMake Error at C:/Users/[REDACTED]/Desktop/llvm-project/build/CMakeFiles/CMakeTmp/CMakeLists.txt:23 (set):
Syntax error in cmake code at
C:/Users/[REDACTED]/Desktop/llvm-project/build/CMakeFiles/CMakeTmp/CMakeLists.txt:23
when parsing string
C:\Users\[REDACTED]\Desktop\llvm-project\build/CMakeFiles/CMakeTmp
Invalid character escape '\U'.
CMake Error at cmake/modules/GetErrcMessages.cmake:32 (try_run):
Failed to configure test project build system.
Call Stack (most recent call first):
cmake/config-ix.cmake:477 (get_errc_messages)
CMakeLists.txt:986 (include)
-- Configuring incomplete, errors occurred!
I think I can deal with the first three lines, but what do I do about the fact that it is improperly escaped?
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744330903a4568882.html
评论列表(0条)