-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building as described in README fails #3
Comments
It's been a really long time since I've looked into this. Nobody really uses this version of SealPIR. Getting Rust and C++ to be happy is really hard, especially as compilers keep changing. If you used the exact same version of gcc and rust, maybe there is some hope. Otherwise, it seems like it'll be a pain. I suggest that you either: (1) Use the official version of SealPIR (C++): https://github.com/Microsoft/SealPIR (2) Use Apple's version of SealPIR (Swift): https://github.com/apple/swift-homomorphic-encryption/blob/main/Sources/PrivateInformationRetrieval/IndexPirProtocol.swift#L23 (3) Try Tancrede's version of SealPIR (Rust): https://github.com/tlepoint/fhe.rs/blob/c02cde75a52437bc23f49ebfda084ec152b61248/crates/fhe/examples/sealpir.rs#L4 |
Thank you for the response. I was mainly asking about this as I'm interested in looking into the mPIR work and that relies on this version of sealPIR. Would pointing the mPIR cargo file to one of the versions of SealPIR above work instead? |
No, because that version is C++, not Rust. When you tried compiling the code in this repo, were you using the exact same gcc version and rust version that we tested with? gcc/g++ version 11.3 ? |
Yes, I used the same gcc and rust versions you used but the build still fails |
The text was updated successfully, but these errors were encountered: