openfheorg / openfhe-python

Official Python wrapper for OpenFHE. Current release is v0.8.9 (released on September 10, 2024).
https://openfheorg.github.io/openfhe-python/html/index.html
BSD 2-Clause "Simplified" License
73 stars 21 forks source link

cmake issue #65

Closed macknight closed 1 year ago

macknight commented 1 year ago

Hi, Following: image

I have below error, any ideas?

vboxuser@ubuntu18:~/openfhe-python/build$ cmake .. -- The C compiler identification is Clang 11.1.0 -- The CXX compiler identification is Clang 11.1.0 -- Check for working C compiler: /usr/bin/clang-11 -- Check for working C compiler: /usr/bin/clang-11 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/clang++-11 -- Check for working CXX compiler: /usr/bin/clang++-11 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: /usr/bin/python3.6 (found suitable version "3.6.9", minimum required is "3.6") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Performing Test HAS_FLTO_THIN -- Performing Test HAS_FLTO_THIN - Success -- Found pybind11: /home/vboxuser/.local/include (found version "2.11.1") CMake Error at CMakeLists.txt:57 (find_package): By not providing "FindPython.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Python", but CMake did not find one.

Could not find a package configuration file provided by "Python" with any of the following names:

PythonConfig.cmake
python-config.cmake

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

-- Configuring incomplete, errors occurred! See also "/home/vboxuser/openfhe-python/build/CMakeFiles/CMakeOutput.log".

BR

macknight commented 1 year ago

I used this, is this as expected?

image

BR

macknight commented 1 year ago

Looks Good! image

BR