Open r-marques opened 6 years ago
Thanks for reporting this!
Buffet is implemented as a set of patches against a version of clang that is now quite out of date, so it's not surprising that new compilers might fail to compile it.
We're working on a fix (either patching the old version of clang we use or making our patches work against a newer version), but in the meantime the best workaround I can offer is to use an older version of gcc (<= 6).
FYI, I was able to reproduce the build error you got using the exact OS and gcc version you mentioned, but not on Debian unstable with gcc 7.2.0.
I tried to compile against the latest version of llvm patched and the entire build process is working. I created pr #9 if you want to take a look.
I also had a problem with the build process when compiling libsnark. My issue was the same as https://github.com/scipr-lab/libsnark/issues/82 and https://github.com/scipr-lab/libsnark/issues/86#issuecomment-319532767
I also updated the installation scripts to use the latest version of libsnark and created a pr #10
With these two changes the entire build process works. My only problem now is when trying to run the examples it cannot find the libsnark headers. I see that they are installed under $DEPS_DIR
.
I also when running ./install_buffet.sh in Ubuntu 17.10 I get this error:
Please answer me as soon as possible.thank you
When running
./install_buffet.sh
in an up to date Fedora 27 with gcc version7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)
I get this error: