homenc / HElib

HElib is an open-source software library that implements homomorphic encryption. It supports the BGV scheme with bootstrapping and the Approximate Number CKKS scheme. HElib also includes optimizations for efficient homomorphic evaluation, focusing on effective use of ciphertext packing techniques and on the Gentry-Halevi-Smart optimizations.
https://homenc.github.io/HElib
Other
3.11k stars 759 forks source link

Build Installation Error #476

Closed fanfan328 closed 2 years ago

fanfan328 commented 2 years ago

Hi, I have a problem on installing HElib, I'm using WSL2 run on Windows 10 system.

Also I have succeed installing NTL and the GMP without any problem. The problem is when I run "make -j16" command, it show some error with helib_external.

Already tried to using this solution but it seems not working. #304

Command : make -j16

[ 0%] Built target setup_install_dir [ 33%] Built target gmp_fetched [ 66%] Built target ntl_fetched [ 66%] Built target dependencies_built [ 70%] Performing build step for 'helib_external' make[3]: No targets specified and no makefile found. Stop. make[2]: [CMakeFiles/helib_external.dir/build.make:112: dependencies/Stamp/helib_external/helib_external-build] Error 2 make[1]: [CMakeFiles/Makefile2:137: CMakeFiles/helib_external.dir/all] Error 2 make: [Makefile:130: all] Error 2

I think the problem is in these command. make -f CMakeFiles/helib_external.dir/build.make CMakeFiles/helib_external.dir/build

Any help would be appreciated.

nxhieu3102 commented 2 months ago

Hi @fanfan328 , how u resolve it ?