This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Description
OS: Ubuntu 22.04
Git revision: 27eff84
IDE: RustOver 2024.3
rustc 1.76.0 (07dca489a 2024-02-04)
cargo 1.76.0 (c84b36747 2024-01-18)
HI
I cloned the source from https://github.com/solana-labs/solana at master branch, followed README and compiled the project successfully in the terminal.
But when I open the project with RustOver, the IDE says build failure for hidapi v2.6.1:
error: failed to run custom build command for `hidapi v2.6.1`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: `/mnt/library/workspace/solana-tools/solana/target/debug/build/hidapi-1facc6edf0acd91e/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at /home/$USER/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hidapi-2.6.1/build.rs:113:9:
Exactly one linux hidapi backend must be selected.
stack backtrace:
0: rust_begin_unwind
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at /rustc/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/panicking.rs:72:14
2: build_script_build::compile_linux
3: build_script_build::main
4: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Did I misconfigured something?