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 761 forks source link

Error while interpreting a go wrapper for a simple encryption decryption example using HELib #286

Open MikeDSH opened 5 years ago

MikeDSH commented 5 years ago

Technical Lead: Expected Effort (Days, Weeks or Months): Expected Start Date: People or Skills Needed:

Brief Description:

github.com/nikofil/helib

In file included from helib/fhe.go:6:0: ./src/FHE.h:19:10: fatal error: climits: No such file or directory

include

      ^~~~~~~~~

compilation terminated.

boev commented 5 years ago

Hi Mike,

I have not looked a lot into it, but the line where it fails is the first include and it just states: #include <climits>

Probably there is something wrong with your compiler and its header files set. I have no problems compiling with g++ 8.1.0 on Ubuntu.