arkworks-rs / groth16

A Rust implementation of the Groth16 zkSNARK
https://www.arkworks.rs
Apache License 2.0
242 stars 97 forks source link

error[E0432]: unresolved import `ark_ec::scalar_mul::fixed_base` #54

Closed fanym919 closed 8 months ago

fanym919 commented 8 months ago

Using cargo to build the library with command cargo build --release

Current cargo/rustc version 1.75.0.

Then, get the following error:


error[E0432]: unresolved import `ark_ec::scalar_mul::fixed_base`
 --> src/generator.rs:2:44
  |
2 | use ark_ec::{pairing::Pairing, scalar_mul::fixed_base::FixedBase, CurveGroup};
  |                                            ^^^^^^^^^^ could not find `fixed_base` in `scalar_mul`

For more information about this error, try `rustc --explain E0432`.
error: could not compile `ark-groth16` (lib) due to previous error```