CMake-GUI不会从Visual Studio的源代码创建llvm项目

时间:2014-11-23 04:29:11

标签: llvm cmake-gui

使用https://user@llvm.org/svn/llvm-project/llvm/trunk,我正在尝试从源文件构建一个LLVM项目,但是当它尝试构建时,它(CMake)正在寻找它的一些文件找不到。无法找到的文件示例是dirent.h。最后,我收到了这条消息:

Looking for dlfcn.h
Looking for dlfcn.h - not found
Looking for execinfo.h
Looking for execinfo.h - not found
Looking for link.h
Looking for link.h - not found
Looking for malloc/malloc.h
Looking for malloc/malloc.h - not found
Looking for sys/dir.h
Looking for sys/dir.h - not found
Looking for sys/ioctl.h
Looking for sys/ioctl.h - not found
Looking for sys/mman.h
Looking for sys/mman.h - not found
Looking for sys/ndir.h
Looking for sys/ndir.h - not found
Looking for sys/param.h
Looking for sys/param.h - not found
Looking for sys/resource.h
Looking for sys/resource.h - not found
Looking for sys/time.h
Looking for sys/time.h - not found
Looking for sys/uio.h
Looking for sys/uio.h - not found
Looking for sys/wait.h
Looking for sys/wait.h - not found
Looking for termios.h
Looking for termios.h - not found
Looking for unistd.h
Looking for unistd.h - not found
Looking for utime.h
Looking for utime.h - not found
Looking for valgrind/valgrind.h
Looking for valgrind/valgrind.h - not found
Looking for zlib.h
Looking for zlib.h - not found
Looking for mach/mach.h
Looking for mach/mach.h - not found
Looking for mach-o/dyld.h
Looking for mach-o/dyld.h - not found
Performing Test HAVE_CXXABI_H
Performing Test HAVE_CXXABI_H - Failed
Looking for arc4random
Looking for arc4random - not found
Looking for backtrace
Looking for backtrace - not found
Looking for getpagesize
Looking for getpagesize - not found
Looking for getrusage
Looking for getrusage - not found
Looking for setrlimit
Looking for setrlimit - not found
Looking for isatty
Looking for isatty - not found
Looking for isinf
Looking for isinf - not found
Looking for finite
Looking for finite - not found
Looking for isnan
Looking for isnan - not found
Looking for exp10
Looking for exp10 - not found
Looking for futimens
Looking for futimens - not found
Looking for futimes
Looking for futimes - not found
Looking for mallinfo
Looking for mallinfo - not found
Looking for malloc_zone_statistics
Looking for malloc_zone_statistics - not found
Looking for mkdtemp
Looking for mkdtemp - not found
Looking for mkstemp
Looking for mkstemp - not found
Looking for getcwd
Looking for getcwd - not found
Looking for gettimeofday
Looking for gettimeofday - not found
Looking for getrlimit
Looking for getrlimit - not found
Looking for posix_spawn
Looking for posix_spawn - not found
Looking for pread
Looking for pread - not found
Looking for realpath
Looking for realpath - not found
Looking for sbrk
Looking for sbrk - not found
Looking for srand48
Looking for srand48 - not found
Looking for strtoll
Looking for strtoll - found
Looking for strtoq
Looking for strtoq - not found
Looking for strerror_r
Looking for strerror_r - not found
Looking for setenv
Looking for setenv - not found
Looking for _chsize_s
Looking for _chsize_s - found
Looking for _alloca
Looking for _alloca - not found
Looking for __alloca
Looking for __alloca - not found
Looking for ___chkstk
Looking for ___chkstk - not found
Looking for __ashldi3
Looking for __ashldi3 - not found
Looking for __ashrdi3
Looking for __ashrdi3 - not found
Looking for __divdi3
Looking for __divdi3 - not found
Looking for __fixdfdi
Looking for __fixdfdi - not found
Looking for __fixsfdi
Looking for __fixsfdi - not found
Looking for __floatdidf
Looking for __floatdidf - not found
Looking for __lshrdi3
Looking for __lshrdi3 - not found
Looking for __moddi3
Looking for __moddi3 - not found
Looking for __udivdi3
Looking for __udivdi3 - not found
Looking for __umoddi3
Looking for __umoddi3 - not found
Looking for __main
Looking for __main - not found
Looking for __cmpdi2
Looking for __cmpdi2 - not found
Looking for __GLIBC__
Looking for __GLIBC__ - not found
Performing Test HAVE_INT64_T
Performing Test HAVE_INT64_T - Success
Performing Test HAVE_UINT64_T
Performing Test HAVE_UINT64_T - Success
Performing Test HAVE_U_INT64_T
Performing Test HAVE_U_INT64_T - Failed
Looking for __atomic_fetch_add_4 in atomic
Looking for __atomic_fetch_add_4 in atomic - not found
Performing Test LLVM_HAS_ATOMICS
Performing Test LLVM_HAS_ATOMICS - Success
Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG
Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG - Failed
Target triple: x86_64-pc-win32
Native target architecture is X86
Performing Test HAVE_ELMCB_PCSTR
Performing Test HAVE_ELMCB_PCSTR - Success
Threads enabled.
Doxygen disabled.
Sphinx disabled.
Go bindings disabled.
Using Debug VC++ CRT: MDd
Using Release VC++ CRT: MD
Using MinSizeRel VC++ CRT: MD
Using RelWithDebInfo VC++ CRT: MD
Found PythonInterp: C:/cygwin64/bin/python (found version "1.4") 
Constructing LLVMBuild project information
CMake Error at CMakeLists.txt:399 (message):
  Unexpected failure executing llvm-build:


Configuring incomplete, errors occurred!
See also "C:/LLVMBuild/CMakeFiles/CMakeOutput.log".
See also "C:/LLVMBuild/CMakeFiles/CMakeError.log".

1 个答案:

答案 0 :(得分:0)

除非您正在开发,否则您可能希望坚持发布版本而不是主干。你需要一个可以编译大多数c ++ 11的可视化工作室版本,2013年是你最好的选择,2012年可能会有效,我不知道2010年是否足够