Open zofoc opened 2 years ago
error: failed to run custom build command for rustc_codegen_nvvm v0.3.0 (E:\Work\RustCUDA\Rust-CUDA-0.3\crates\rustc_codegen_nvvm)
Caused by:
process didn't exit successfully: E:\Work\RustCUDA\Rust-CUDA-0.3\target\debug\build\rustc_codegen_nvvm-5af0b793bf34f027\build-script-build
(exit code: 101)
--- stderr
llvm-config: error: LLVM-7.1.dll is missing
thread 'main' panicked at 'command did not execute successfully: "E:\Work\RustCUDA\rustc_codegen_nvvm-llvm-windows-x86_64\windows-x86_64\bin\llvm-config.exe" "--link-shared" "--libs" "bitreader" "bitwriter" "ipo" "lto" "nvptx"
expected success, got: exit code: 1', crates\rustc_codegen_nvvm\build.rs:217:16
stack backtrace:
0: 0x7ff7ed5244cf - std::backtrace_rs::backtrace::dbghelp::trace
at /rustc/532d2b14c05f9bc20b2d27cbb5f4550d28343a36\/library\std\src....\backtrace\src\backtrace\dbghelp.rs:98
1: 0x7ff7ed5244cf - std::backtrace_rs::backtrace::trace_unsynchronized
at /rustc/532d2b14c05f9bc20b2d27cbb5f4550d28343a36\/library\std\src....\backtrace\src\backtrace\mod.rs:66
2: 0x7ff7ed5244cf - std::sys_common::backtrace::_print_fmt
at /rustc/532d2b14c05f9bc20b2d27cbb5f4550d28343a36\/library\std\src\sys_common\backtrace.rs:67
3: 0x7ff7ed5244cf - std::sys_common::backtrace::_print::impl$0::fmt
at /rustc/532d2b14c05f9bc20b2d27cbb5f4550d28343a36\/library\std\src\sys_common\backtrace.rs:46
4: 0x7ff7ed53cfda - core::fmt::write
at /rustc/532d2b14c05f9bc20b2d27cbb5f4550d28343a36\/library\core\src\fmt\mod.rs:1149
5: 0x7ff7ed51cbe8 - std::io::Write::write_fmt
E:\Work\RustCUDA\Rust-CUDA-0.3\examples\cuda\cpu\add>
I downloaded the official pre build version of the library. It seems that there is no llvm-7.1.dll. Do I need to pull llvm-7.1 full source and full Compiler?
Can rust CUDA 0.3 be deployed in windows? How can I encounter the situation that rust CUDA 0.3 cannot be compiled? The CPU / add demo fails to compile