Skip to content

Question about how to compile this project #1

@kittener

Description

@kittener

Hello authors, I am very interested in your work, but I have encountered some difficulties during the compilation process.

When I try to compile using the commands in the readme, it throws an error:
# cmake --build build --config RelWithDebInfo Error: could not load cache

So I used the cargo build --release command, and then it gave an error:
Updating crates.io index error: package backtrace v0.3.76 cannot be built because it requires rustc 1.82.0 or newer, while the currently active rustc version is 1.71.1

So I downgraded the backtrace version.

cargo update -p backtrace --precise 0.3.69

Then another error occurred:

error[E0658]: use of unstable library feature 'int_roundings'
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cobs-0.3.0/src/lib.rs:46:16
|
46 | source_len.div_ceil(254)
| ^^^^^^^^
|
= note: see issue #88581 rust-lang/rust#88581 for more information
For more information about this error, try rustc --explain E0658.
error: could not compile cobs (lib) due to previous error

Could you please provide a more detailed compilation process, or how should I proceed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions