You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
Thanks for making this, we just switched on iOS and it's so fast!
On an iPhone 15 I'm getting 0.5s witness gen for a 450k constraints circuit.
I was able to build smoothly on iOS but when doing make android I'm getting this type of errors: /Users/turboblitz/code/my-code/zkpassport/proof-of-passport/app/witnesscalc/build/fr_raw_generic.cpp:13:22: error: no matching function for call to '__gmpn_add_n'
... /Users/turboblitz/code/my-code/zkpassport/witnesscalc/depends/gmp/package_android_arm64/include/gmp.h:1474:26: note: candidate function not viable: no known conversion from 'uint64_t *' (aka 'unsigned long *') to 'mp_ptr' (aka 'unsigned long long *') for 1st argument __GMP_DECLSPEC mp_limb_t mpn_add_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t);
I don't know anything about c++ but it looks like gmp does not like the types of the arguments passed by fr_raw_generic.cpp
Am I doing something wrong? Also, I'm running macOS.
The text was updated successfully, but these errors were encountered:
Hi
Thanks for making this, we just switched on iOS and it's so fast!
On an iPhone 15 I'm getting 0.5s witness gen for a 450k constraints circuit.
I was able to build smoothly on iOS but when doing
make android
I'm getting this type of errors:/Users/turboblitz/code/my-code/zkpassport/proof-of-passport/app/witnesscalc/build/fr_raw_generic.cpp:13:22: error: no matching function for call to '__gmpn_add_n'
...
/Users/turboblitz/code/my-code/zkpassport/witnesscalc/depends/gmp/package_android_arm64/include/gmp.h:1474:26: note: candidate function not viable: no known conversion from 'uint64_t *' (aka 'unsigned long *') to 'mp_ptr' (aka 'unsigned long long *') for 1st argument __GMP_DECLSPEC mp_limb_t mpn_add_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t);
I don't know anything about c++ but it looks like
gmp
does not like the types of the arguments passed byfr_raw_generic.cpp
Am I doing something wrong? Also, I'm running macOS.
The text was updated successfully, but these errors were encountered: