Closed chfast closed 7 years ago
make install installs headers to <prefix>/include/libsnark. By convention dependent project should include -I<prefix>/include only. However, this does not work, because libsnark headers includes other libsnark headers without libsnark prefix, e.g. https://github.com/scipr-lab/libsnark/blob/master/src/algebra/curves/alt_bn128/alt_bn128_g1.hpp#L11.
make install
<prefix>/include/libsnark
-I<prefix>/include
libsnark
The current convention is to -I<prefix>/include/libsnark. Is there a strong reason to change that?
-I<prefix>/include/libsnark
Not a very big deal. I included both paths, but will try to use only the mentioned one.
make install
installs headers to<prefix>/include/libsnark
. By convention dependent project should include-I<prefix>/include
only. However, this does not work, because libsnark headers includes other libsnark headers withoutlibsnark
prefix, e.g. https://github.com/scipr-lab/libsnark/blob/master/src/algebra/curves/alt_bn128/alt_bn128_g1.hpp#L11.