scipr-lab / libsnark

C++ library for zkSNARKs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

using cmake

smithsen opened this issue · comments

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!

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.