fully-homomorphic-encryption icon indicating copy to clipboard operation
fully-homomorphic-encryption copied to clipboard

Issue Building With Bazel

Open ArmaghanAsghar opened this issue 3 years ago • 1 comments
trafficstars

  1. Fully Homomorphic Library with Bazel in Container Environment.
  2. Created a new example in Fully Homomorphic Library using openfhe https://github.com/openfheorg/ library.
  3. The example I am trying to run is https://github.com/openfheorg/openfhe-development/blob/main/src/pke/examples/simple-integers-serial-bgvrns.cpp
  4. The example runs fine when I compile and execute openfhe as a standalone project (independent of Fully Homomorphic Library).
  5. When I try to run the same example using bazel as part of Fully Homomorphic Library, I get a compilation error, show below Screenshot 2022-04-13 at 3 00 53 PM

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 Screenshot 2022-04-13 at 3 03 37 PM

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.

ArmaghanAsghar avatar Apr 13 '22 22:04 ArmaghanAsghar

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.

j2kun avatar Sep 14 '22 18:09 j2kun

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.

j2kun avatar Nov 23 '22 21:11 j2kun