Build error
Opened this issue · 2 comments
bo-hub commented
Hi, thanks for the wonderful work.
I cloned the repo and try to built it. But I have touble to build it right. I faced the below error.
$ cargo build --release
error: failed to parse manifest at `/home/bob/code/crypto/pointproofs/Cargo.toml`
Caused by:
failed to parse the version requirement `` for dependency `rand_core`
Caused by:
unexpected end of input while parsing major version number
Could you take a look? Thanks in advance.
HelloHaoWu commented
Lucy20009 commented
cargo build --release
error[E0599]: no function or associated item named `deserialize` found for struct `PointproofsParams` in the current scope
--> src/pairings/param.rs:300:64
|
300 | let param = match pointproofs_paramgen::PointproofsParams::deserialize(reader, true) {
| ^^^^^^^^^^^ function or associated item not found in `PointproofsParams`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
error[E0308]: mismatched types
--> src/pairings/param.rs:341:18
|
341 | vec![PointproofsG1::zero().into_affine()],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `pairing_plus::bls12_381::ec::g2::G2Affine`, found `pairing::bls12_381::G2Affine`
|
= note: `pairing::bls12_381::G2Affine` and `pairing_plus::bls12_381::ec::g2::G2Affine` have similar names, but are actually distinct types
Could you take a look? Thanks in advance.