2

I am trying to build the latest version of the Microsoft SEAL library on ubuntu but as given in the documentation on the GitHub page I'm able the make only sealexample and the sealtest executable file from it. I've to write a custom program using this library but can't figure out how to start with this.

I've tried using linking the library as seal/seal.h which is available in the code but it didn't work.

please suggest the solution for this.

y_159
  • 458
  • 3
  • 15

1 Answers1

1

You'll need to install SEAL according to the instructions in README.md (sounds like you already did that). Then just create a new directory with your project source files, create a new CMakeLists.txt similar to native/examples/CMakeLists.txt, and run

cmake .
make

in your directory. For an example, see https://www.youtube.com/watch?v=7vJJMU2gMn4.

Kim Laine
  • 856
  • 5
  • 10
  • 1
    Now, This method is infeasible for SEAL 3.6.1. Your video is unuseful. Could you give me newer method? – Land Dec 21 '20 at 13:58
  • 1
    The [README.md](https://github.com/microsoft/SEAL/blob/main/README.md#linking-with-microsoft-seal-through-cmake) has a pretty detailed description of what to do. Is there some specific thing there that is unclear? – Kim Laine Dec 22 '20 at 20:11
  • @KimLaine on running `make -j` ,nothing can be seen on terminal screen but the command terminates and i cannot find `libseal.a` file. – y_159 Apr 19 '21 at 03:37
  • @Land did you find anything? – y_159 Apr 19 '21 at 06:01
  • Here it is: https://www.microsoft.com/en-us/research/project/microsoft-seal/#!videos – OChicken Jul 20 '21 at 16:49
  • Probably the easiest way today to install and use SEAL is by installing it with [vcpkg](https://github.com/microsoft/vcpkg). – Kim Laine Jul 22 '21 at 04:50