scipr-lab / libsnark

C++ library for zkSNARKs
Other
1.8k stars 570 forks source link

unexpected identifier in libsnark build #196

Open benjaminwwong opened 2 years ago

benjaminwwong commented 2 years ago

Hello, I'm trying to build libsnark on my mac for the first time. Using both docker, and building it directly I've been running into the same error: "fatal error: use of undeclared identifier 'Xbyak'"

Screen Shot 2022-05-25 at 2 56 39 PM Screen Shot 2022-05-25 at 2 58 12 PM

The only thing that I've modified is that I've changed the .gitmodules file so that it could fetch the submodules properly.

Does anyone know how to fix this error?

LBruyne commented 1 year ago

I have the same problem

LBruyne commented 1 year ago

I believe the reason is your machine architecture is ARM.