fully-homomorphic-encryption
fully-homomorphic-encryption copied to clipboard
Issue Building With Bazel
- Fully Homomorphic Library with Bazel in Container Environment.
- Created a new example in Fully Homomorphic Library using openfhe https://github.com/openfheorg/ library.
- The example I am trying to run is https://github.com/openfheorg/openfhe-development/blob/main/src/pke/examples/simple-integers-serial-bgvrns.cpp
- The example runs fine when I compile and execute openfhe as a standalone project (independent of Fully Homomorphic Library).
- When I try to run the same example using bazel as part of Fully Homomorphic Library, I get a compilation error, show below

My steps:
A. I had cloned the repo
B. Created a new folder in examples to host my example code and made a new BUILD file
C. The build file is

Everything else in the project is constant, and not been altered. Trying to understand why the openfhe example is not working within the Fully Homomorphic encryption Library.
I would recommend re-running with --sandbox_debug and --verbose_failures to get more information about the source of the issue.
Also, please try running an existing openfhe example first to confirm the build issue is not specific to your example.
The dependent library (OpenFHE) has been updated a lot since this issue was first filed, and I've been taking some time to clean up external usability issues. I would recommend trying the build again, and in the mean time I will close this issue and you can reopen if you see further issues.