madztheo / noir-react-native-starter

A simple template to generate ZK proofs with Noir on mobile using React Native
MIT License
20 stars 5 forks source link

Getting error when trying to ./scripts/download-srs.sh #6

Closed mechanicals closed 2 weeks ago

mechanicals commented 2 weeks ago

error: failed to run custom build command for bb_rs v0.58.0 (https://github.com/zkpassport/aztec-packages.git?branch=v0.58.0#b968e846)

Caused by: process didn't exit successfully: /Users/shubhamsharma/development/noir-react-native-starter/scripts/srs_downloader/target/debug/build/bb_rs-ad20ae8d89f39b7d/build-script-build (exit status: 101) ..... .....

.cargo/git/checkouts/aztec-packages-2362f3628ba34e29/b968e84/barretenberg/cpp/src/barretenberg/ecc/scalar_multiplication/sorted_msm.cpp:60:31: fatal error: no member named 'par_unseq' in namespace 'std::execution'

    60 |     std::sort(std::execution::par_unseq, index.begin(), index.end(), [&](size_t idx_1, size_t idx_2) {
       |               ~~~~~~~~~~~~~~~~^
  1 error generated.

This is happening when i am trying to download. ./scripts/download-srs.sh


I am running it on mac.

image image
mechanicals commented 2 weeks ago

was able to sort it out. went through most of cpp code giving error about parallel execution and working as of now.