lightbulb128 / troy

GPU implementation of BFV, CKKS and BGV homomorphic encryption schemes.
MIT License
33 stars 3 forks source link

Could not find a package configuration file provided by "SEAL" #1

Closed black6816 closed 1 year ago

black6816 commented 1 year ago

ubuntu# cmake .. -DSEAL_DIR=/workspace/HE/seal/SEAL CMake Error at CMakeLists.txt:16 (find_package): By not providing "FindSEAL.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "SEAL", but CMake did not find one.

Could not find a package configuration file provided by "SEAL" (requested version 4.0) with any of the following names:

SEALConfig.cmake
seal-config.cmake

Add the installation prefix of "SEAL" to CMAKE_PREFIX_PATH or set "SEAL_DIR" to a directory containing one of the above files. If "SEAL" provides a separate development package or SDK, be sure it has been installed.

black6816 commented 1 year ago

any idea ? should i install SEAL 4.0?

lightbulb128 commented 1 year ago

I included the original MS SEAL 4.0 in my CMakeList in order to compare the performances etc. You could either 1) install SEAL 4.0. I would recommend this as the simplest solution. 2) or, remove the SEAL related part in the CMakeList. The troy library itself does not depend on SEAL, so you should be only removing some tests and application code (SEAL Matmul).

black6816 commented 1 year ago

thks