Open MikeDSH opened 5 years ago
Hi Mike, can you tell me how did you try to compile the file?
Consider that the helib_example project should to be compiled us using the supplied cmake script (with the arguments as described in INSTALL.md), and not directly g++.
@esteffin ,
I also meet this error.
I built and installed HElib as INSTALL.md said.
I chose Option 1 to build and installed HElib in a folder(/root/helib_install/helib_pack).
Then, I wrote a simple code with cmake. Following is my CMakeList.txt
And "cmake -Dhelib_DIR=/root/helib_install/helib_pack/share/cmake/helib ."
Everything worked well. But when I try to make, I meet this error.
I'm not fimilar with cmake. Generally, I use "-I" to tell compiler where's the header files. But In this case, What can I do?
@tuliopascoal , Sorry. It's been so long. I have forgot how to fix it.
I have done it according to the install.md.But when i try to test it there is a bug.
helib_example.cpp:3:10: fatal error: helib/FHE.h: No such file or directory
include <helib/FHE.h>
compilation terminated.