rust-qt / ritual

Use C++ libraries from Rust
Apache License 2.0
1.22k stars 49 forks source link

Fail building the demo clipper lib #103

Open varomix opened 3 years ago

varomix commented 3 years ago

Hi, I am trying to build the sample from the docs, the clipper library I got something working, I can't get past this error. thanks for the help

INFO [ritual::processor] Running processing step: build_crate Updating crates.io index error: failed to select a version forcpp_std. ... required by packageclipper v0.1.0 (/home/varomix/RUST_DEV/clipper/workspace/out/clipper) versions that meet the requirements^0.1.1` are: 0.1.1

the package clipper depends on cpp_std, with features: ritual_rustdoc_nightly but cpp_std does not have these features.

failed to select a version for cpp_std which could resolve this conflict ERROR [ritual::processor] Step failed! Aborting... `

varomix commented 3 years ago

@Riateche any help here please where is this ritual_rustdoc_nightly package? thank you

Riateche commented 3 years ago

I can't reproduce this issue. Are you using the latest version of ritual?

ritual_rustdoc_nightly is not a package, it's a feature of crates generated by ritual. The published version of cpp_std doesn't have this feature yet, but it shouldn't be a problem.