Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using cmake #183

Open
smithsen opened this issue Nov 25, 2020 · 1 comment
Open

using cmake #183

smithsen opened this issue Nov 25, 2020 · 1 comment

Comments

@smithsen
Copy link

smithsen commented Nov 25, 2020

Hi,

I am using ubuntu 18.04. I was going through the steps of installing the library. I am not sure how to proceed after "make check". I want to execute "cmake -DDEPENDS_DIR=/home/smith/libsnark/depends" to include libff and when I do first "cd libsnark/zk_proof_systems/ppzksnark/r1cs_ppzksnark/profiling" and then "g++ profile_r1cs_ppzksnark.cpp" I get an error "profile_r1cs_ppzksnark.cpp:28:10: fatal error: libff/common/profiling.hpp: No such file or directory
#include <libff/common/profiling.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated."

I am not really entirely sure what I am doing wrong. It is unclear to me how to proceed after cloning the library and go through the steps until "make check" in here https://github.com/scipr-lab/libsnark
I want to execute the final line "libsnark/zk_proof_systems/ppzksnark/r1cs_ppzksnark/profiling/profile_r1cs_ppzksnark 1000 10 bytes"
Thanks!

@noodlehair-git
Copy link

I have a similar issue. I was able to follow the steps until make check. I am not able to execute libsnark/zk_proof_systems/ppzksnark/r1cs_ppzksnark/profiling/profile_r1cs_ppzksnark 1000 10 bytes either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants