openfheorg / openfhe-python

Official Python wrapper for OpenFHE. Current release is v0.8.8 (released on June 25, 2024).
https://openfheorg.github.io/openfhe-python/html/index.html
BSD 2-Clause "Simplified" License
60 stars 18 forks source link

Fatal Error #82

Closed juealcs closed 4 months ago

juealcs commented 8 months ago

Please guide me to solve this problem. I have followed all the steps to install it but getting this error. fatal error: openfhe.h: No such file or directory 10 | #include "openfhe.h" | ^~~ compilation terminated. make[2]: [CMakeFiles/openfhe.dir/build.make:63: CMakeFiles/openfhe.dir/src/lib/bindings.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:76: CMakeFiles/openfhe.dir/all] Error 2 make: *** [Makefile:130: all] Error 2

reneroliveira commented 7 months ago

Hi, @juealcs!

Apparently, something went wrong in the installation of openfhe-development. Can you try reinstalling it following the README instructions? If you're using Linux, try installing with sudo, so that the installation goes global and openfhe-python can recognize it

IanQS commented 5 months ago

Is this still a problem?

tatianabkirillova commented 5 months ago

I also have this problem

IanQS commented 5 months ago

Please include more details. Exactly what commands are you running, what OS, what version of OpenFHE and OpenFHE-python are you installing?

yspolyakov commented 4 months ago

Looks to me that the CMake install cannot find openfhe. This means that either "sudo make install" was not used or, alternatively, the custom path to OpenFHE was not specified.

yspolyakov commented 4 months ago

This issue affected one of the prior releases and is now fixed.