Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win11 compile issue #260

Open
CRH2A-2168 opened this issue Aug 6, 2024 · 1 comment
Open

win11 compile issue #260

CRH2A-2168 opened this issue Aug 6, 2024 · 1 comment

Comments

@CRH2A-2168
Copy link

always occur:
error[E0282]: type annotations needed for Box<_>
--> C:\Users\shengtianyi.cargo\registry\src\index.crates.io-6f17d22bba15001f\time-0.3.23\src\format_description\parse\mod.rs:83:9
|
83 | let items = format_items
| ^^^^^
...
86 | Ok(items.into())
| ---- type must be known at this point
|
help: consider giving items an explicit type, where the placeholders _ are specified
|
83 | let items: Box<_> = format_items
| ++++++++

For more information about this error, try rustc --explain E0282.
error: could not compile time (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for llvm-sys v150.1.2 (C:\Users\shengtianyi\Downloads\ZLUDA-3\ext\llvm-sys.rs)

Caused by:
process didn't exit successfully: C:\Users\shengtianyi\Downloads\ZLUDA-3\target\release\build\llvm-sys-a2f50d31ba2b2fdc\build-script-build (exit code: 101)
--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-changed=C:\Users\shengtianyi\Downloads\ZLUDA-3\ext\llvm-project\llvm
cargo:rerun-if-changed=C:\Users\shengtianyi\Downloads\ZLUDA-3\ext\llvm-sys.rs\build.cmake
CMAKE_TOOLCHAIN_FILE_x86_64-pc-windows-msvc = None
CMAKE_TOOLCHAIN_FILE_x86_64_pc_windows_msvc = None
HOST_CMAKE_TOOLCHAIN_FILE = None
CMAKE_TOOLCHAIN_FILE = None
CMAKE_PREFIX_PATH_x86_64-pc-windows-msvc = None
CMAKE_PREFIX_PATH_x86_64_pc_windows_msvc = None
HOST_CMAKE_PREFIX_PATH = None
CMAKE_PREFIX_PATH = None
CMAKE_x86_64-pc-windows-msvc = None
CMAKE_x86_64_pc_windows_msvc = None
HOST_CMAKE = None
CMAKE = None
running: "cmake" "C:\Users\shengtianyi\Downloads\ZLUDA-3\ext\llvm-project\llvm" "-G" "Ninja" "-DLLVM_ENABLE_TERMINFO=OFF" "-DLLVM_BUILD_TOOLS=OFF" "-DLLVM_TARGETS_TO_BUILD=" "-DLLVM_ENABLE_PROJECTS=" "-DCMAKE_PROJECT_INCLUDE_BEFORE=C:\Users\shengtianyi\Downloads\ZLUDA-3\ext\llvm-sys.rs\build.cmake" "-DCMAKE_INSTALL_PREFIX=C:\Users\shengtianyi\Downloads\ZLUDA-3\target\release\build\llvm-sys-97864b585f69b23a\out" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro" "-DCMAKE_C_COMPILER=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/HostX64/x64/cl.exe" "-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro" "-DCMAKE_CXX_COMPILER=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/HostX64/x64/cl.exe" "-DCMAKE_ASM_FLAGS= -nologo -MD -Brepro" "-DCMAKE_ASM_COMPILER=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/HostX64/x64/cl.exe" "-DCMAKE_BUILD_TYPE=Release"

--- stderr
CMake Error: The source directory "C:/Users/shengtianyi/Downloads/ZLUDA-3/ext/llvm-project/llvm" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
thread 'main' panicked at C:\Users\shengtianyi.cargo\registry\src\index.crates.io-6f17d22bba15001f\cmake-0.1.50\src\lib.rs:1098:5:

command did not execute successfully, got: exit code: 1

build script failed, must exit now
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
error: process didn't exit successfully: target\debug\xtask.exe --release (exit code: 101)

@lshqqytiger
Copy link

#239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants