microsoft / SEAL

Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library.
https://www.microsoft.com/en-us/research/group/cryptography-research/
MIT License
3.62k stars 711 forks source link

Building SEAL 4.0.0 on ubuntu failed. #579

Closed clearlovel7 closed 2 years ago

clearlovel7 commented 2 years ago

I build the SEAL 4.0.0 on ubuntu and received an error like the below picture. I don't kown why? Screenshot 2022-10-10 162311

Yuchen-Cao commented 2 years ago

Same error for me. There used to be another closed issue https://github.com/microsoft/SEAL/issues/441 relating to this. They say it's something related to gcc (I am using gcc-7 as well, exactly the same bug) I believe we should update gcc version to, say 9.4? (Related issue: https://github.com/microsoft/SEAL/issues/467#issuecomment-1075525697)

以前有一个同样问题的 issue https://github.com/microsoft/SEAL/issues/441 ,已经closed了,应该是 gcc 本身的问题。那个 issue 下面说可以尝试 gcc 9.4

Yuchen-Cao commented 2 years ago

I've tried using clang, and successfully installed. btw, in SEAL readme they also mentioned using clang to compile this project gives better runtime performance.

换 clang 就成功了。另外项目README里写了clang编译出来的 runtime 效率更好。

clearlovel7 commented 2 years ago

I've tried using clang, and successfully installed. btw, in SEAL readme they also mentioned using clang to compile this project gives better runtime performance.

换 clang 就成功了。另外项目README里写了clang编译出来的 runtime 效率更好。

thanks,I‘ll try do this.