Closed orbmis closed 3 years ago
You can try
sudo apt install libgmp-dev
Perfect, that worked:
$ node node_modules/snarkit/dist/cli.js check ./snarkit/testdata/num2bits/
test /home/user/snarkit-test/snarkit/testdata/num2bits/data/case01
Up to loadJson 0.02537899999999999878
Items : 1
Total 0.02558399999999999910
test /home/user/snarkit-test/snarkit/testdata/num2bits/data/case01 done
I see the readme has already been updated: you guys work fast! :-)
Thanks for your help!!
Hello,
The test data doesn't seem to compile for me for some reason. Hopefully you can help by pointing out something obvious that I'm missing.
I tried to run snarkit as per the readme file, by cloning the repo, installing the dependencies with
sudo apt install nlohmann-json3-dev nasm g++
, changing into thetestdata
folder and running the following command:$ npx snarkit compile num2bits --backend native
I received the following error:
I'm using an AWS c5.24xlarge instance, running Ubuntu 20.04 on an x86_64 architecture.
node version: v14.16.1 npm version: 6.14.12
Can you see what I may be missing?