CMake Error: File /cygdrive/.../src/LLVMBuild.txt does not exist
CMake Error: File /cygdrive/.../src/LLVMBuild.txt does not exist
我正尝试按照 here:
的说明在 Windows7 上构建 cling
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=[Install Path] ..\src
cmake --build . --config [Release/Debug] --target cling
我注意到编译器 cmake 正在使用 Visual Studio 12 2013
(使用 cmake-gui 或在 cmdline 中),而我收到以下错误 (full traceback is here):
Constructing LLVMBuild project information
CMake Error: File /cygdrive/e/ABOUT-C++/cling/src/LLVMBuild.txt does not exist.
CMake Error at E:/ABOUT-C++/cling/build/LLVMBuild.cmake:28 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:431 (include)
CMake Error: File /cygdrive/e/ABOUT-C++/cling/src/bindings/LLVMBuild.txt does not exist.
CMake Error at E:/ABOUT-C++/cling/build/LLVMBuild.cmake:30 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:431 (include)
为什么路径前缀是/cygdrive/e/...
而不是E:/...
?这些是有效路径吗? (丢失的文件cmake提到确实存在于相应的文件夹中!)
或者是因为 llvm / clang / cling
应该在 windows 上使用 cygwin
构建,而我默认使用的编译器 vc12
不正确?
我敢打赌你的问题出在你的 python 上。根据 D:/cygwin/bin/python2.7.exe
判断,您似乎使用了特殊版本的 python,它到处都是 /cygdrive/
。
尝试使用官方 binary package for Windows.
我正尝试按照 here:
的说明在 Windows7 上构建cling
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=[Install Path] ..\src
cmake --build . --config [Release/Debug] --target cling
我注意到编译器 cmake 正在使用 Visual Studio 12 2013
(使用 cmake-gui 或在 cmdline 中),而我收到以下错误 (full traceback is here):
Constructing LLVMBuild project information
CMake Error: File /cygdrive/e/ABOUT-C++/cling/src/LLVMBuild.txt does not exist.
CMake Error at E:/ABOUT-C++/cling/build/LLVMBuild.cmake:28 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:431 (include)
CMake Error: File /cygdrive/e/ABOUT-C++/cling/src/bindings/LLVMBuild.txt does not exist.
CMake Error at E:/ABOUT-C++/cling/build/LLVMBuild.cmake:30 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:431 (include)
为什么路径前缀是/cygdrive/e/...
而不是E:/...
?这些是有效路径吗? (丢失的文件cmake提到确实存在于相应的文件夹中!)
或者是因为 llvm / clang / cling
应该在 windows 上使用 cygwin
构建,而我默认使用的编译器 vc12
不正确?
我敢打赌你的问题出在你的 python 上。根据 D:/cygwin/bin/python2.7.exe
判断,您似乎使用了特殊版本的 python,它到处都是 /cygdrive/
。
尝试使用官方 binary package for Windows.