2014-11-23 104 views
-1

使用https://[email protected]/svn/llvm-project/llvm/trunk,我試圖從源文件構建LLVM項目,但是當它嘗試構建時,它的一些文件(CMake)正在找它找不到。無法找到的文件的一個示例是dirent.h。最後,我收到以下消息:CMake-GUI不會從源代碼爲Visual Studio創建llvm項目

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". 

回答

0

除非您正在開發,否則您可能希望堅持發佈版本而不是中繼。你需要一個可以編譯大多數C++的視覺工作室版本11想想,2013是你最好的選擇,2012年可能會工作,我不知道2010年是否足夠

+0

我使用VS2013如果你正在談論3.5(發佈),你如何使用該下載? – SpicyWeenie 2014-11-23 06:32:54

相關問題