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

error: failed to run custom build command for ls-qpack-sys v0.1.3 #115

Closed
pylearndl opened this issue Dec 16, 2023 · 1 comment
Closed

Comments

@pylearndl
Copy link

Hi,
I'm running on Windows 10. Tried to run on command prompt

cargo run --example full

It gives an error

C:\Users\Avyan\Downloads\wtransport>cargo run --example full
Compiling ls-qpack-sys v0.1.3
Compiling serde_path_to_error v0.1.14
Compiling sharded-slab v0.1.7
Compiling thread_local v1.1.7
Compiling tracing-log v0.2.0
Compiling matchit v0.7.3
Compiling smallvec v1.11.2
Compiling anyhow v1.0.75
error: failed to run custom build command for ls-qpack-sys v0.1.3

Caused by:
process didn't exit successfully: C:\Users\Avyan\Downloads\wtransport\target\debug\build\ls-qpack-sys-4d26a347265ee188\build-script-build (exit code: 101)
--- stdout
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_GENERATOR_x86_64-pc-windows-msvc = None
CMAKE_GENERATOR_x86_64_pc_windows_msvc = None
HOST_CMAKE_GENERATOR = None
CMAKE_GENERATOR = 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\Avyan\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ls-qpack-sys-0.1.3\deps/ls-qpack" "-G" "Visual Studio 17 2022" "-Thost=x64" "-Ax64" "-DLSQPACK_BIN=OFF" "-DCMAKE_INSTALL_PREFIX=C:\Users\Avyan\Downloads\wtransport\target\debug\build\ls-qpack-sys-e6204c3bc1a0151d\out" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro" "-DCMAKE_C_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS_DEBUG= -nologo -MD -Brepro" "-DCMAKE_BUILD_TYPE=Debug"

--- stderr
thread 'main' panicked at C:\Users\Avyan.cargo\registry\src\index.crates.io-6f17d22bba15001f\cmake-0.1.50\src\lib.rs:1098:5:

failed to execute command: program not found
is cmake not installed?

build script failed, must exit now
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Can you help please ?

@pylearndl
Copy link
Author

pylearndl commented Dec 16, 2023

I got error resolved by following this link
https://stackoverflow.com/a/61739570

choco install llvm

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

1 participant