Closed Benjamin-Loison closed 9 months ago
https://rustup.rs
1) Quick install via the Visual Studio Community installer
Are two graphical options necessary?
Start after installation is useless.
Start after installation
Current installation options: default host triple: x86_64-pc-windows-msvc default toolchain: stable (default) profile: default modify PATH variable: yes 1) Proceed with installation (default) 2) Customize installation
Do not know if 1 or 2 matters, as according to the Stack Overflow answer 47380501 denotes.
"C:\\Users\\$USER\\.cargo\\bin\\cargo" install matrix-commander
Updating crates.io index Installing matrix-commander v0.3.0 Updating crates.io index Compiling proc-macro2 v1.0.78 ... Compiling itertools v0.10.5 Compiling der v0.5.1 Compiling darling_core v0.14.4 error: failed to run custom build command for `ring v0.17.7` Caused by: process didn't exit successfully: `C:\tools\msys64\tmp\cargo-installV9bLS5\release\build\ring-8ed73497b508bdd8\build-script-build` (exit code: 1) --- stdout cargo:rerun-if-env-changed=RING_PREGENERATE_ASM cargo:rustc-env=RING_CORE_PREFIX=ring_core_0_17_7_ OPT_LEVEL = Some("3") TARGET = Some("x86_64-pc-windows-gnu") HOST = Some("x86_64-pc-windows-gnu") cargo:rerun-if-env-changed=CC_x86_64-pc-windows-gnu CC_x86_64-pc-windows-gnu = None cargo:rerun-if-env-changed=CC_x86_64_pc_windows_gnu CC_x86_64_pc_windows_gnu = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = None cargo:rerun-if-env-changed=CC CC = None cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-gnu CFLAGS_x86_64-pc-windows-gnu = None cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_gnu CFLAGS_x86_64_pc_windows_gnu = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None running: "gcc.exe" "-O3" "-ffunction-sections" "-fdata-sections" "-m64" "-I" "include" "-I" "C:\\tools\\msys64\\tmp\\cargo-installV9bLS5\\release\\build\\ring-b51f61c86fcd3db8\\out" "-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-pedantic" "-Wall" "-Wextra" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wenum-compare" "-Wfloat-equal" "-Wformat=2" "-Winline" "-Winvalid-pch" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-Wwrite-strings" "-g3" "-DNDEBUG" "-o" "C:\\tools\\msys64\\tmp\\cargo-installV9bLS5\\release\\build\\ring-b51f61c86fcd3db8\\out\\crypto/curve25519/curve25519.o" "-c" "crypto/curve25519/curve25519.c" --- stderr error occurred: Failed to find tool. Is `gcc.exe` installed? (see https://github.com/rust-lang/cc-rs#compile-time-requirements for help) warning: build failed, waiting for other jobs to finish... error: failed to compile `matrix-commander v0.3.0`, intermediate artifacts can be found at `C:\tools\msys64\tmp\cargo-installV9bLS5`. To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
"C:\\Users\\$USER\\.cargo\\bin\\rustup" toolchain list
stable-x86_64-pc-windows-gnu (default) stable-x86_64-pc-windows-msvc
"C:\\Users\\$USER\\.cargo\\bin\\rustup" default stable-x86_64-pc-windows-msvc
solved above issue.
Compilation took at least 12m42s.
"C:\\Users\\$USER\\.cargo\\bin\\matrix-commander-rs.exe"
Yes it is compatible.
https://rustup.rs
Are two graphical options necessary?
Start after installation
is useless.Do not know if 1 or 2 matters, as according to the Stack Overflow answer 47380501 denotes.
solved above issue.
Compilation took at least 12m42s.