-
Although i686-windows is not on the list of supported platforms, if there is a way, how can I compile it? PS E:\chrm_rev> cargo build --target=i686-pc-windows-msvc
Compiling skia-bindings v0.78.2
Compiling chrm_rev v0.1.0 (E:\chrm_rev)
error: failed to run custom build command for `skia-bindings v0.78.2`
Caused by:
process didn't exit successfully: `E:\chrm_rev\target\debug\build\skia-bindings-28549208391ad0ce\build-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=DOCS_RS
cargo:rerun-if-env-changed=SKIA_DEBUG
HOST: x86_64-pc-windows-msvc
cargo:rerun-if-env-changed=SKIA_SOURCE_DIR
cargo:rerun-if-env-changed=FORCE_SKIA_BUILD
cargo:rerun-if-env-changed=FORCE_SKIA_BINARIES_DOWNLOAD
TRYING TO DOWNLOAD AND INSTALL SKIA BINARIES: 0.78.2/ec00cf219c4901d785ed-i686-pc-windows-msvc-d3d-gl-textlayout
cargo:rerun-if-env-changed=SKIA_BINARIES_URL
FROM: https://github.com/rust-skia/skia-binaries/releases/download/0.78.2/skia-binaries-ec00cf219c4901d785ed-i686-pc-windows-msvc-d3d-gl-textlayout.tar.gz
DOWNLOAD AND INSTALL FAILED: curl error code: Some(22)
curl stderr: Ok("")
STARTING A FULL BUILD
cargo:rerun-if-env-changed=CLANGCC
cargo:rerun-if-env-changed=CC
cargo:rerun-if-env-changed=CLANGCXX
cargo:rerun-if-env-changed=CXX
HOST: x86_64-pc-windows-msvc
cargo:rerun-if-env-changed=OPT_LEVEL
cargo:rerun-if-env-changed=SKIA_USE_SYSTEM_LIBRARIES
HOST: x86_64-pc-windows-msvc
cargo:rerun-if-env-changed=SDKTARGETSYSROOT
cargo:rerun-if-env-changed=SDKROOT
HOST: x86_64-pc-windows-msvc
HOST: x86_64-pc-windows-msvc
cargo:rerun-if-env-changed=VCINSTALLDIR
cargo:rerun-if-env-changed=LLVM_HOME
cargo:rerun-if-env-changed=USERPROFILE
--- stderr
Checking for "C:\\Program Files\\LLVM\\bin\\clang-cl.exe"
Checking for "C:\\LLVM\\bin\\clang-cl.exe"
Checking for "C:\\Users\\mcitem\\scoop\\apps\\llvm\\current\\bin\\clang-cl.exe"
thread 'main' panicked at C:\Users\mcitem\.cargo\registry\src\index.crates.io-6f17d22bba15001f\skia-bindings-0.78.2\build_support\platform\windows.rs:32:13:
Unable to locate LLVM installation
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
PS E:\chrm_rev> |
Beta Was this translation helpful? Give feedback.
Answered by
mcitem
Jan 7, 2025
Replies: 1 comment
-
set CARGO_HOME |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mcitem
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
set CARGO_HOME
C:.cargo