herumi / mcl

a portable and fast pairing-based cryptography library
BSD 3-Clause "New" or "Revised" License
450 stars 152 forks source link

error: no member named 'setStr' in '__gmp_expr<mpz_t, mpz_t>' z2_.setStr(&b, z2, 16); assert(b); (void)b; #136

Closed abolfazlyounesi closed 2 years ago

abolfazlyounesi commented 2 years ago

getting the error: no member named 'setStr' in '__gmp_expr<mpz_t, mpz_t>' z2_.setStr(&b, z2, 16); assert(b); (void)b; while trying to use cmake for building

OS: mac os 12.0.1

herumi commented 2 years ago

Thank you for pointing that out. I forgot GMP. I've fixed it at https://github.com/herumi/mcl/releases/tag/v1.56 .